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

learn more… | top users | synonyms

-1
votes
1answer
37 views

How can I compile C++ code into an independent Windows executable? [closed]

I've got a C++ program that I can compile and run on Mac OS 10.11 using g++. I also was able to compile and run it on Windows 10 using Visual Studio. However, when I tried to run the .exe file on a ...
0
votes
0answers
23 views

How to correctly pin MSYS to task bar in Windows 8?

I use MSYS/MinGW a lot on Windows 8.1 and wanted to create a shortcut on the taskbar at the bottom. What I did is to lauch MSYS, and once it appears on the task bar, choose "pin this program to task ...
0
votes
0answers
20 views

Start Git Bash from users directory

I am running the latest version of git on Windows. When I start Git Bash (Running MINGW32) from my start menu it starts git from my users home directory. When I pin the window to the task bar and then ...
0
votes
0answers
19 views

Trying to get git's core.pager to work on both mingw and cygwin

I am trying to get git for Windows working identically in the mingw bash that comes with git for Windows and in my cygwin terminal. Right now, I cannot get the core.pager (which determines whether a ...
0
votes
0answers
41 views

How should I properly configure NetBeans with MinGW-w64 and MSYS2?

I'm trying to set up NetBeans for C++ development. I have installed msys2 into C:\msys64 and installed mingw-w64 within it. I added them into my path and compiled my test project on the command line ...
0
votes
0answers
39 views

Setting up Eclim with Git Bash Windows 7

So I followed the instructions to get Eclim working on command prompt and it works, I can use the command :PingEclim and it gives me the relevant information when im running eclimd.bat. So all is ...
1
vote
1answer
87 views

What is the difference between the different GCC on Cygwin, and which one to install?

I need to install GCC for Cywin, but I see that there are five different "gcc-g++" packages: cygwin32-gcc-g++ gcc-g++ mingw-gcc-g++ mingw64-i686-gcc-g++ mingw64-x86_64-gcc-g++ What is the ...
0
votes
0answers
19 views

What is MinGW lic class?

I'm trying to figure why a fresh MinGW install with base, gcc and gcc-g++ (and associated dependencies) can't find the compiler. The setup program has a lic class, but I can't determine what it is, ...
1
vote
1answer
21 views

Different behaviour of the find (parameter not correct) on *nix and windows (ming32) systems

This command called from the Makefile works ok on the various *nix systems, but fails with Windows + Mingw32 bash/makefile: for a in `find libr | grep -e dll$$`; do cp $$a ${WINDIST} ; done This is ...
1
vote
1answer
259 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. ...
0
votes
1answer
45 views

How to access windows administrative share from mingw shell?

I am using a mingw shell that comes with github by default, I've been accessing my server's administrative share by: \\myserver\c$\path\to\dir Is there a way to access it from mingw shell without ...
0
votes
0answers
77 views

There is no disk in the drive. Please insert a disk into drive \Device\Harddisk4\DR4 when trying to compile C++

I have been trying for so long to convert from Java to C++, but I feel like my computer is too darn old (Dell Inspiron 531 w/ win7 x86) to handle any programs that will allow me to code with this. ...
0
votes
0answers
59 views

How to install a recent gcc with mingw?

I've used the Mingw installation manager to install mingw32-gcc version 4.8.1-4. But if I use gcc from the command prompt, it seems to be running version 3.4.5: C:\Users\theo\Documents>gcc -v ...
1
vote
0answers
20 views

Terminal reset troubles

According to the MinGW setup program, I have the bash shell installed. When I attempt to issue a reset, I get: sh: reset: command not found Bash responds to the reset command in every other ...
1
vote
1answer
374 views

How can I use mintty as the terminal emulator for MinGW/MSYS?

The default "terminal emulator" in Windows leaves a lot to be desired. I see mintty recommended as a lightweight alternative with specific support for MinGW/MSYS, but not much information on how to ...
0
votes
1answer
265 views

How to use echo in shell command from Makefile?

I have a GNU makefile. It runs fine on Linux, Solaris and OS X. However, under Cygwin-32, Cygwin-64 and MinGW, it produces: /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: ...
0
votes
0answers
85 views

gettext for java project under Windows 7 gives error 'Bad file descriptor'

I'm trying to use gettext in java project to provide translations for different languages. My workstation runs Windows 7 and so I'd like to be able to go through whole build process on it (including ...
0
votes
0answers
175 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
1
vote
0answers
26 views

MinGW Git Bash observable progress output inconsistency across machines

I am getting inconsistent behavior across installations of Git Bash on different Windows 7 machines. The diff in behavior is fairly minor, but I'd like to understand what could be responsible for the ...
0
votes
0answers
203 views

mingwm10.dll missing: error at program start and unsure how to proceed

I want to run a program in Windows 8.1 (64bit) but upon starting the program it crashes because it cannot find a file mingwm10.dll After searching for more information with Google: I do not ...
0
votes
1answer
40 views

File shows up with ls but not with dir

Windows 7 I generated a pdf using wkhtmltopdf in C:/Program Files/wkhtmltopdf/bin with the command wkhtmltopdf http://google.co.uk google.pdf to test it out. However, google.pdf does not show in ...
0
votes
0answers
27 views

exe file copied into c:\Windows\System32 not found in MinGW/MSYS

I have downloaded the sdelete tool from Microsoft and copied it into c:\Windows\System32 (Windows Server 2008R2). I thought the file should be accessible from MinGW/MSYS as exe files on the search ...
1
vote
2answers
129 views

Why does my backspace key keep being unbound from erase?

Every 5 to 20 minutes I need to retype stty erase ^H in the console because my backspace key randomly starts printing ^H instead of deleting characters. This is happening in git bash on a lenovo ...
0
votes
1answer
22 views

MinGW shows old version of file

I'm observing a situation where Git Bash (MinGW) is showing different contents for a particular file than everything else on the system. In the image you can see that the file elasticsearch.yml has ...
1
vote
1answer
81 views

Use mingw-get to install du

Does anyone know how to use mingw-get install to install the unix du command? I couldn't find which package to use. mingw-get install du does not work. This is with 32 bit MinGW/MSYS from mingw.org ...
0
votes
0answers
32 views

Msys shell exits immediately when run with command parameter

Running msys shell with a -c parameter makes it exit immediately after the command finishes execution. This is similar behavior to cmd utility where the /c switch has the same behavior, which can be ...
0
votes
0answers
67 views

Git Bash on Windows 8 open to specific directory except when using Git Bash Here context menu

When I right click and choose Git Bash here it works as expected and the shell launches in the correct window. When clicking just the icon, despite changing the Start In settings, the directory is ...
0
votes
1answer
68 views

how to change order of system includes in mingw under cygwin?

I am trying to use mingw32 under cygwin32 to crosscompile. However, I get an error involving float.h In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:16:0, ...
0
votes
0answers
23 views

Changes to be commited half green half red

Last time I used git add . and git status after I got this output: Why is the output colored this way, and why are the paths ordered so oddly? For example: ...
0
votes
1answer
132 views

Compiling libvorbis with MinGW

I'm attempting to cross compile libvorbis ready to then do the same for libvpx to ultimately compile a windows version of ffmpeg that can handle WebM (along with a few other options that I've yet to ...
1
vote
0answers
138 views

SSH key forwarding not working between MinGW and Ubuntu VM

I've read a great deal of similar issues, but haven't yet found the answer. SSH forwarding between my MinGW (Windows 7) host and an Ubuntu Precise VM, provisioned with Vagrant, is not working. ...
1
vote
2answers
222 views

Why does cygwin sha512 create different checksums depending on terminal?

I'm using Windows 7 and have both Cygwin and the ming-based Git command line tool. When I issue the command: c:\>echo -n hello | e:\cygwin\bin\sha512sum from the Windows cmd, it generates ...
4
votes
2answers
472 views

Rename tab from MinGW-console using ConEmu

I'm using the cmder (ConEmu) with Git Bash-tabs (MinGW) and I want to rename the current tab with a console command. Within a cmd-Tab I can use cmd /c RenameTab "myTabName" but I a need a similar ...
1
vote
1answer
126 views

Installing Cygwin with MinGW in windows

I wanted to install Cygwin in the C:\Cygwin (which is shown by default during installation). I have the C:\MinGW installed in that directory too(I mean C:\) Will this cause any problem when I install ...
0
votes
1answer
46 views

Can Mingw32/Msys run dos/cmd.exe executables with ampersand in arguments? [duplicate]

This is a similar question to :Can Mingw32/Msys run dos/cmd.exe executables without screwing up the arguments? I'm trying to launch outlook from the mingw shell. I want to launch a new message window ...
1
vote
0answers
40 views

MINGW32 orphan console window

I was installed Git extensions in Windows 7, which have a Git Bash console which title starts with "MINGW32" so it is running under MINGW. Today I found that such a window became a zombie -- I cannot ...
5
votes
2answers
2k views

How can I remove or deactivate the Windows system32/find.exe?

I am trying to make my Windows System as compatible with existing Makefiles as possible. One great step that is missing is replacing the windows "find" (which is the same as grep) with the GNU find ...
1
vote
0answers
116 views

Why do MinGW and MSYS have separate versions of gcc?

This is my understanding of the relationship between MinGW and MSYS. When installing MinGW and its gcc toolchain, installing MSYS is optional. With MSYS installed, you get bash and a few other tools ...
2
votes
2answers
11k views

MinGW gcc missing zlib1.dll

Whenever I try to compile a C file using MinGW's gcc, it gives the error that zlib.dll is missing. Is there any reliable way to get zlib.dll or to fix this error?
1
vote
2answers
3k views

MinGW MSYS ssh error: Could not create directory '/home/<username>/.ssh'

I have just installed a fresh MinGW installation on Windows 7 64bit using the Graphical User Interface Installer (the recommended approach) following the instructions given here and keeping the ...
1
vote
1answer
72 views

less command is unable to show pdf file in cygwin/mingw

I use less to read pdf in linux. While either in mingw or cygwin, less is unable to show pdf in the right way. looks encoding issue. Any help? thank you!
1
vote
0answers
211 views

Erlang/OTP compiler <erlc> not found but required in windows 8

I am configuring the ejabberd using Erlang/OTP. When I run ./configure command the Error Occurred. checking for erl... C:\erl5.9\bin checking for erlc... no checking for erl... C:\erl5.9\bin ...
1
vote
1answer
108 views

In git-bash when I hit delete it says “(arg: 3)” then the keyboard doesn't work correctly

I googled it and can't seem to find anything talking about it. Basically if I'm at the prompt, and I've typed something, then arrow to delete something in the middle of it, when I hit delete the ...
1
vote
0answers
570 views

PATH variable - System vs User - why is it dangerous to modify System PATH on Windows?

While installing MinGW, the users are warned about making changes to the System PATH variable: You should not alter the system path variable in any manner, or you will cause all sorts of problems ...
1
vote
0answers
98 views

Bash MinGW ignoring Ctrl+O key combination

In Bash MinGW on Windows 7, I would like to use Ctrl+O to perform a history search backward. However, I can't get this work -- i.e., this line in my ~/.inputrc does nothing (although it does work on ...
2
votes
4answers
2k views

bash - remove all directories (and contents) but not files in pwd

I'd like to remove all directories from the pwd but leave the files in the pwd alone. If the content of my pwd is: mydir1 mydir2 myfile1 myfile2 then I'd like to be left with just myfile1 myfile2 ...
1
vote
1answer
1k views

Bash - move files with similar name from multiple directories to pwd

Say I have directories: mydir1 mydir2 mydir3 mydir4 containing files starting with abcd I'd like to move all file beginning with abcd to the parent directory. How can I do this? Here's what I've ...
6
votes
1answer
3k views

MinGW installer not working with proxy

Situation I want to install minGW and msys on a work pc, but I'm behind a proxy. The proxy settings are configured to auto detect in both internet explorer and firefox. The proxy is a http proxy on ...
1
vote
0answers
175 views

How to get Column (the gnu/linux utility) for Windows (MINGW)?

MINGW does not come with the "column" utility. I want to be able to do something like: cat file.txt | column -t Is there a way I can install just that utility for Windows? Preferably a single file, ...
0
votes
1answer
27 views

Can't execute mingw toolchain provided by Rtools

I can't execute R CMD INSTALL on an installation of R + Rtools in Wine (latest version from ppa:ubuntu-wine/ppa). A reproducible script and console output can be found here: ...