Questions tagged [msys]

MSYS is a collection of GNU utilities such as bash, make, gawk and grep for Microsoft Windows, supporting UNIX shell scripting, and building of applications and programs which depend on the availability of traditional UNIX tools. Primarily, it is intended to complement MinGW, by compensating for many of the deficiencies of Windows' own cmd.exe shell.

MSYS wiki page: http://www.mingw.org/wiki/MSYS

MSYS is a collection of GNU utilities such as bash, make, gawk and grep for Microsoft Windows, supporting UNIX shell scripting, and building of applications and programs which depend on the availability of traditional UNIX tools. Primarily, it is intended to complement MinGW, by compensating for many of the deficiencies of Windows' own cmd.exe shell. However, many users will find applications beyond this primary usage, or may even just prefer its more capable shell as a day-to-day working command interpreter.

As an example of the primary intended usage, consider building a project which depends on the GNU autotools build system; users will typically run ./configure then make to build such a project. The configure shell script requires a shell script interpreter which is not normally present on Windows systems, but is provided by MSYS.

A common misunderstanding is that MSYS is "UNIX on Windows". MSYS by itself does not provide a native Windows compiler, nor a C library; therefore, it does not offer the capability to magically port UNIX programs to Windows, nor does it provide any UNIX specific functionality, such as case-sensitive filenames or POSIX specific APIs. Users seeking such functionality are advised to consider Cygwin, or Microsoft's Interix instead.

504 questions
20
votes
4 answers

Is make no longer included with MinGW and/or MSYS?

I installed MinGW and MSYS on my Windows 7 computer. I added C:\Program Files (x86)\MinGW\bin to my path. Commands such as gcc and g++ work, but make does not. I looked in the directory, and there is no executable called make, even though I…
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
18
votes
3 answers

Why is configure so slow in MSYS?

When I use MSYS to compile something, the ./configure step can take longer than the make. However, the same process in Linux has a fast configure and slow make. Is this just some setting in MSYS that is bogging down my system? Does anyone have a…
User1
  • 39,458
  • 69
  • 187
  • 265
18
votes
1 answer

Git bash tab completion for .sh files

I'm using msysgit on windows 7 and I found bash scripting very useful. I wrote some .sh scripts, but I'd like git bash to autocomplete their names. For now I can see, that after initial prompt git bash autocompletes only .exe, .bat and .com files.…
wjtk
  • 1,117
  • 10
  • 20
17
votes
4 answers

cmake MSYS Makefiles generator missing

I have cmake 3.2.3 installed via pacman. I get an error when I try to use it from a msys64 shell: $ cmake -G "MSYS Makefiles" .. CMake Error: Could not create named generator MSYS Makefiles cmake --help does not list it as an available…
Scott Thibault
  • 329
  • 2
  • 4
  • 12
17
votes
3 answers

Is there any package management system for MinGW+MSYS?

I am trying to compile some open source libraries in MinGW+MSYS. During the configure phase, I kept seeing some 3rd party libraries are missing. For now, my solution is to download the source of the missing libraries and follow the GNU build process…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
16
votes
4 answers

How do you configure Msys's default size, color, and font?

I've been exploring use of MSys lately as an alternative, 'nix-like shell for my windows development. However, the default colors and size are driving me crazy. Anyone have any idea as to how I can change the default size, color, and / or font? …
Robert P
  • 15,707
  • 10
  • 68
  • 112
16
votes
2 answers

How to run emacs in CLI mode under mintty in windows?

I'm using mintty + msys. And I want to use emacs with it. But without GUI. I saw such behavior in cygwin. But I can not understand how they did that. $ emacs -nw emacs: standard input is not a tty $ stty.exe -a speed 38400 baud; rows 24;…
denys
  • 2,437
  • 6
  • 31
  • 55
15
votes
3 answers

Installing Pip on Msys

I have built a simple PyGTK app using Python 3.5.2 and Msys but I need some modules not in the default installation, and although I could use setup.py install to get them I would much rather use pip. I looked around and found this but it relates…
Xantium
  • 11,201
  • 10
  • 62
  • 89
15
votes
2 answers

Tab autocompletion in bash vi shell mode

When using MSYS on a windows platform, I "set -o vi" to use the vi shell mode. Tab autocompletion for files and directories stops working. How to I renable this while remaining in vi shell mode?
William
  • 337
  • 4
  • 14
15
votes
8 answers

Seething over MSYS shell - is it replaceable?

I need a serviceable shell for MSYS. This is my current dilemma: The default rxvt.exe has a scroll bar and copy and paste, but doesn't send control characters or arrow keys to a running program in the shell (like interpreters/debuggers). This is…
dbs
  • 188
  • 2
  • 5
14
votes
4 answers

Using msysGit from MinGW and vice versa

I am using git as my revision control system. To do so, I installed msysGit to checkout my repositories on MSW. Now I want to compile my programs with MinGW and found this "problem" for me: When I install MinGW and MSYS via mingw-get I can compile…
tbolender
  • 1,172
  • 3
  • 14
  • 19
14
votes
4 answers

Invoking MSYS bash from Windows cmd

I'm using GCC on Windows 7 (using the TDM's build). I installed MSYS to be able to execute Make and compile using makefiles. However, it is tedious to every time start up the MSYS Bash shell, navigate to the directory of the project and run…
Taco de Wolff
  • 1,682
  • 3
  • 17
  • 34
14
votes
3 answers

What mechanism is used by MSYS/Cygwin to emulate Unix domain sockets?

I'm attempting to write (in C#) a piece of software that communicates with another piece of software, built with MSYS, over (MSYS emulated) Unix domain sockets. I've learned that the "socket server" (I'm not clear on what the proper terminology is)…
Mark
  • 11,257
  • 11
  • 61
  • 97
12
votes
2 answers

Does the current version of msysgit support process substitution?

Under my version of msysgit, I can't use process substitution. cat <(echo 'foo') sh.exe": cannot make pipe for process substitution: Function not implemented If I upgraded to the latest version of msysgit, would its version of msys / mingw be able…
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
11
votes
2 answers

MSYS2 statically link output binary

Is there any way to statically link the generated .exe file from MSYS2 gcc? I tried many ways, but none of them worked. All generated .exe files require msys-2.0.dll, which I want to get rid of. So far, I tried to enable -ststic option,…
Bo Gao
  • 331
  • 2
  • 9
1
2
3
33 34