Questions tagged [mingw]
MinGW, a contraction of "Minimalist GNU for Windows", is a minimalist development environment for native Microsoft Windows applications.
159
questions
0
votes
0
answers
598
views
Pacman not available on fresh MSYS2 install
I just installed MSYS2 on windows 10 following instructions here : https://www.msys2.org/
After installation, a terminal opens, in which I type pacman -S mingw-w64-ucrt-x86_64-gcc
This results in an ...
0
votes
1
answer
2k
views
Copying data locally in Windows: rsync seems like a better solution, but how to run it?
I find myself needing to copy lots of data in Windows from an external hard drive to my local drive, but after instructing the File Explorer to do it via DragNDrop, it seems it's going to take a ...
2
votes
0
answers
78
views
Installing Icarus Verilog : Should I install "MinGW dependecis (DDL libraries)"?
I have just started to learn HDL. I'm trying to install Icarus Verilog together with GTK Wave.
I use Windows and download the installer from here. (I downloaded : iverilog-v12-20220611-x64_setup [18....
0
votes
1
answer
817
views
Why is my git bash (mingw64) running a nonsense command when using the -c option?
I am getting this at the moment when using git bash:
C:\>bash -c pwd
C:\Program Files\Git\bin\bash.exe: line 1: $'MZ\220\003': command not found
/c
When I use the debbuging option, I get this:
C:\&...
2
votes
2
answers
8k
views
How to download GDB from minGW correctly?
I am using GDB, downloaded from MinGW Installation Manager(I doubt it's installed correctly), to debug C++, and GDB cannot be found in the path below used to debug.
C:\msys64\mingw64\bin
Other exes ...
2
votes
0
answers
63
views
Why does $PATH come in two different formats in mintty on Windows?
I'm trying to use node to do a small inline string manipulation of the current PATH in a bash script (in mintty.exe on a GitHub Windows Action Runner), but it's not working as expected.
I've recreated ...
0
votes
1
answer
1k
views
'gcc' not recognized though C:\MinGW\bin added to path
I installed mingw from the mingw installer and installed all the basic packages needed.
I can run gcc if I give the address of the folder to cmd but not without it.
I will attach all the images. The ...
1
vote
1
answer
46
views
How do I stop emacs from clearing the screen in MinGW?
I'm getting some odd behavior in MinGW on Windows.
Every time I open emacs in the terminal emulator (emacs -nw), I find that when I close out of it that terminal has cleared itself.
For example, if I ...
0
votes
1
answer
490
views
How do I pass a include path to windres?
I am trying to cross compile libiconv-1.13.1 for windows using mingw32.
I have got a custom toolchain placed in /usr/i686-w64-mingw32/bin/
This is for the NetSurf browser project.
I have set the paths ...
1
vote
1
answer
9k
views
Cannot find g++ after msys2 install
I want to install g++ so I can compile and run C++ code in VScode.
I started by trying to follow the VSCode-provided guide which states I need to install mysys.
I tried installing msys2 per the given ...
5
votes
1
answer
15k
views
How can I properly configure the g++ include path with mingw64?
I have installed msys2/mingw64 because I need the g++ compiler. Now, I want to compile some c++ oce which requires openblas. I have installed the package using pacman -S mingw-w64-x86_64-openblas. ...
-1
votes
1
answer
1k
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 ...
5
votes
0
answers
1k
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
0
answers
76
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://[email protected]/myproject.git
expect "Enter passphrase for key..."
send "myPassword\r&...
2
votes
1
answer
801
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://[email protected]/myproject.git
expect "Enter passphrase for key..."
send "...