Questions tagged [mingw]

MinGW, a contraction of "Minimalist GNU for Windows", is a minimalist development environment for native Microsoft Windows applications.

Filter by
Sorted by
Tagged with
-1
votes
1answer
104 views

How to install latest GCC/Mingw in Windows 7 32 bit Operating System?

I know that I can download MinGW from Cygwin, MSYS, but I saw that they don't have the latest GCC compiler. And that's why I searched in Google that how to get latest GCC in windows, and I found ...
1
vote
0answers
111 views

Difference between msys2.exe and mingw64.exe in MSYS installation

I have an MSYS installation on my Windows machine. Inside the root folder, there are two executables: msys2.exe mingw64.exe (There is also a mingw32.exe but that is just the 32-bit version of ...
1
vote
0answers
27 views

How to get output from the console and act on it without expect?

I have read in another question’s answer that if you want to use expect like this: git clone ssh://git@domain.com/myproject.git expect "Enter passphrase for key..." send "myPassword\r&...
1
vote
1answer
82 views

Failed attempt to expect and send in an expect script in MinGW

I’m using MinGW and I am trying to write an expect script which will run git clone. My script: git clone ssh://git@domain.com/myproject.git expect "Enter passphrase for key..." send "...
0
votes
0answers
13 views

disconnecting Cygwin commands from Windows CMD

in a system im trying to use gcc installed in c:/mingw/bin, i also set the related PATH variable for that, but running the command gcc -v always shows the cygwin installed gcc because it tells Thread ...
0
votes
0answers
34 views

How to hide a mingw64 shell window

This is a repost from stackoverflow where I had no response for two weeks. Invoking emacs from mingw64 using the Windows (10) shortcut with something like C:\tools\msys64\mingw64.exe emacs --font=&...
0
votes
1answer
63 views

Didn't get the run terminal in mingw

I've installed mingw from mingw While installing I stopped in mingw installation manager. I followed this tutorial : tutorial In the Installation manager : Then I reviewed those changes : Then I ...
0
votes
1answer
28 views

On mingw/pacman why does harfbuzz requires glib2, which requires python?

I was installing SFML from pacman, which requires freetype, and I got a nasty cyclic dependency between freetype and harfbuzz, which is another issue. My main question is about this chain of ...
1
vote
0answers
539 views

Shifting C++ Compiler from Windows to Windows Subsystem for Linux (WSL)

While learning how to code in C++, I installed minGW to allow me to compile C++ code through IDEs and the command prompt. However, recently I have been trying to use the WSL for most of my tasks. ...
1
vote
0answers
582 views

Vim text messed up over ssh on Windows remote host regardless of terminal, works fine on Linux remote host

vim works fine on the first invocation on a remote Windows host, but further use leads to my terminal getting messed up. :redraw! and reset do not help: Using the same local terminal, vim works fine ...
2
votes
3answers
3k views

How to install clang-format on MinGW (Windows)?

I tried searching with pacman -Ss for clang-format, git-clang-format, etc, but I'm not having any luck. However, I have seen some references to it on some other websites, implying it may exist (or ...
3
votes
1answer
2k views

How do I downgrade MinGW GCC to 4.8,4?

I'm starting a C++ course in college, and they asked for all assignments to be compilable on GCC 4.8.4. I decided to go with MinGW on Windows 10 via Eclipse, but on the "Versions" tab of any given ...
0
votes
0answers
2k views

Sublime Text 3 - g++ is not recognized as an internal or external command

I am trying to set up Sublime Text 3 so I am able to build and run c++ files. I have installed MinGW, and added C:\MinGW\bin\g++.exe to my system path, but I am still receiving this error after ...
0
votes
1answer
305 views

Added C:\mingw\bin to path variable, gcc still not recognized

Installed minGW on my windows10 machine, added ';C:\MinGW\bin' to environment variables path, yet when I type 'gcc' into cmd it is still not recognized. Picture for reference.
0
votes
0answers
876 views

Installing extra packages into a git-for-Windows MinGW installation

For most Windows computers I use, I install git for Windows (from https://git-scm.com/downloads) to get a basic set of useful command line tools that I am familiar with from the Linux world (apart ...
0
votes
0answers
450 views

Compile in msys2 mingw64 with -m32 option

Inside a msys2 mingw64 shell, I would like to compile a software with the -m32 option in order to run in 32bit mode. I have installed mingw-w64-x86_64-toolchain But when I compile with -m32, I have ...
0
votes
1answer
211 views

I just installed sublime text 3 on my laptop. I cant run C codes

I built some build systems by using various codes from google & youtube but cant make it. every time some error is showing. is there any way of solving this? Last time i used this code to build a ...
1
vote
1answer
77 views

Is it possible to tell from CMD whether i have Cygwin or MSYS?

Is there a way that I can check, from a CMD whether a PC has Cygwin or MSYS (MSYS2, MINGW, MINGW-64...) installed? Note that I need to be able to differentiate Cygwin from MSYS. Thanks!
1
vote
0answers
115 views

Compatible version of Allegro with my GCC compiler

I am using 32 bit version of code::blocks 17.12 with TDM-GCC version 5.1.0-3 on windows 7 ultimate 32 bit. I was using Allegro 5 (allegro-mingw-gcc6.2.0-x86-static-5.2.2). It worked completely fine. I ...
0
votes
1answer
544 views

Installing Darknet's base system on Windows 10

I'm trying to install darknet (following the instructions on https://pjreddie.com/darknet/install/) I ran: git clone https://github.com/pjreddie/darknet.git make And am getting the following error:...
0
votes
1answer
72 views

Can Alpine3D's code be compiled following their instructions?

I have been attempting to run Alpine3d for a personal project to model wind-drifted snow. This software uses 3 main libraries of code (each of which are open source projects of the SLF): MeteoIO, ...
1
vote
1answer
1k views

Windows 10 Git-bash: Which script sets ORIGINAL_PATH during git-bash start up

When I launch Windows git-bash ver. 2.21.0, /etc/profile assigns %PATH% to $ORIGINAL_PATH and adds a few mingw paths which eventually become the $PATH in the bash shell. However, inside /etc/profile,...
2
votes
2answers
3k views

Installing Mingw-w64 without admin rights

How can I install Mingw-w64 without admin rights? Note that I was able to install MinGW without admin rights. I am using Windows 7.
1
vote
0answers
56 views

Trying to install gcc+ in Git [duplicate]

For Installing gcc+ in Git for the Windows bash environment I can't seem to find anywhere the proper order of which should I download first? And how I would go about setting up the PATH environment. ...
0
votes
1answer
1k views

Execute CMD command with Shell

Trying to execute a .bat file from a shell script. This .bat file calls another .bat file. The first bat file contains: other_file.bat -c some_conf.xml This means I cannot do: start dir/my_file ...
0
votes
1answer
787 views

installing MinGW-x64 in code blocks windows 10 error: No such file or directory found

I am trying to change code blocks configuration to work with min gw x64'. i tried the method How to specify MinGW64 for codeblocks 17.02 on Windows 10?. but still i am getting following error ||=== ...
0
votes
0answers
4k views

pip error: no Fortran compiler found, but compiler already present

I'm trying to install an external library for PyAstronomy using pip: pip install PyAstronomy_ext I do this via Anaconda command prompt. The first time I ran the command the following errors appeared:...
1
vote
2answers
1k views

cmake environment error with clion

I downloaded MinGW/cygwin/mingw-w64 not one of them work. I can't find the issue, every time CMake - Bundled "!Does not work in this environment". I watched youtube for clion-setup more than one. I ...
0
votes
1answer
57 views

Trying to compile Asylia via its makefile, with MinGW... Wrong compiler? How to fix?

I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler? It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are ...
1
vote
0answers
894 views

How to change permissions under Mingw or Cygwin?

My ~/.ssh/id_rsa is 644 when it should be, I believe, 600. The host is Windows 10 and I have both git-bash 2.17.0 and MobaXterm 10.5-3582. If I try to change group, git-bash will fail with $ chown :...
0
votes
1answer
506 views

MinGW compiler : unable to run program in command prompt

I downloaded MinGW compiler . I wrote a small c program and compiled it as follow : gcc -c firstc.c It generated an executable file as "firstc.o" . But when I tried to run the program in command ...
9
votes
2answers
5k views

MSYS2 and "At least one valid and enabled repository required for this action to succeed."

I have separate MSYS2 32-bit and 64-bit installed on a Windows 8.1 test machine. MSYS2 was acquired from the MinGW-64 download page. Each installation has developer tools installed like GCC, Git, GDB, ...
3
votes
2answers
2k views

QEMU User mode emulation

I am a student and trying to compile QEMU on MINGW32 in user emulation mode. I read in certain document that, the following OS are supported in user space emulation: 1. Linux (referred as qemu-...
-1
votes
1answer
2k views

What to install with Qt Creator?

I'm trying to install Qt creator on Windows but it has so many options (and the whole installation requires many GB) that I really don't know which ones I need. I only want to be able to create and ...
0
votes
0answers
595 views

Avoid adding unnecessay Windows %PATH% to Git Bash

Unlike Windows & Git Bash: Bash PATH to read Windows %PATH% system variable, I am trying to avoid Git Bash from adding many entries from windows %PATH%. The reason is my Windows %PATH% has many ...
0
votes
1answer
4k views

How to specify MinGW64 for codeblocks 17.02 on Windows 10?

I have downloaded CodeBlocks 17.02 without mingw and installed it, then I downloaded MinGW64 from here(https://mingw-w64.org/doku.php/download) and only changed the architecture option from i686 to ...
2
votes
1answer
1k views

MinGW: Python enabled GDB on Windows

I use QtCreator 4.6.2, which apparently requires Python-enabled GDB if I want to use it as a debugger. I tried to install mingw32-gdb-python version 7.5-1 with MinGW installer (graphical interface), ...
0
votes
1answer
248 views

How to make MSYS2 pacman believe I installed a package?

I am using MinGW-w64 and MSYS2 on Windows 10. Suppose that there are two libraries A and B. B depends on A, but it also depends on a lot of other things. The official version of library A has a few ...
0
votes
0answers
147 views

C++ Program Compiling Error on Windows using MinGW32 bit compiler with Scons returns that a C++ Header file is Missing

I'm using Windows 7 SP-1 32 bit. I want to Compile Godot on my System from source. According to the instructions, I installed Python2.x on My system. Then I installed Scons in my system too. I used ...
0
votes
1answer
544 views

Visual Studio Code - printf, scanf, perror, etc - red squiggly underlines

Despite my code compiling and executing fine, the first occurrences of printf, scanf, perror, etc (i.e members of stdio.h) have red squiggly underlines, as does stdio.h itself. Why does my code ...
0
votes
0answers
390 views

Can't find grub-mkrescue

Im following the os tutorial on osdev but i can't find grub-mkrescue it was not included in mingw a quick search told me to get cygwin but it was not included in cygwin either Thats why im asking here ...
6
votes
3answers
27k views

Install GCC in Git for Windows bash environment

I have Git for Windows installed on a Windows 7 machine (no, sadly I can't switch to W10 on this particular machine). This comes with a bash environment that uses MinGW-64 but only includes some ...
0
votes
1answer
334 views

How do I use `ts` (timestamp) command in msys2/mingw

I have some problem with zsh, I need ts to log the execution time . zsh -xv 2>&1 | ts -i "%.s" > zsh_startup.log But zsh: command not found: ts pacman -Ss ts got a lot of unrelevernt ...
2
votes
1answer
610 views

How can I open a file with its default application from the MinGW Bash prompt?

In the default windows command prompt you can open a file from the command prompt by entering the name. See Open file with default application from command line. Is there an equivalent in the MinGW ...
0
votes
1answer
2k views

CMake error when creating project in CLion

I recently uninstalled Cygwin and switched to using MinGW as my toolchain. I installed the required packages; I triple checked to make sure that mingw32-make, mingw32-gcc and mingw32-gcc-g++ are all ...
0
votes
1answer
59 views

How to change make builtin rules

I would like to know if there is a way to change the rules applied automatically by make when there is no makefile. To give an example, if you write make foo in a directory containing a file called ...
2
votes
2answers
1k views

Install haskell in existing msys2

Is there any simple way to install haskell / cabal / stack in an existing msys2 installation? I can't find one. Note: Apparently it is possible to install both at the same time using MinGHC, see here....
0
votes
1answer
354 views

using ssh from Git for Windows in a stand-alone fashion

I am having Git for Windows (this comes with MinGw64 binaries and an msys-dll set) and have extracted (thanks to depends.exe) only the program SSH.exe with the needed DLL files for using those ...
4
votes
1answer
1k views

Device names in MSYS2 dd

Which is the equivalent of: dd if=/dev/sda ... dd if=/dev/sda1 ... for dd.exe in MSYS2 in coreutils Does Chrysocome syntax apply?
1
vote
1answer
2k views

How do you change versions of gcc on windows?

I've been using g++ 4.8.1, mingw. Now, I've just updated to 6.3.0, however when I use g++ in command prompt it still seems to use the older version. How do you change between versions on windows?