Set of GNU utilities packaged for Windows. Questions about msysgit should use [msysgit] instead.

learn more… | top users | synonyms

2
votes
2answers
230 views

Why doesn't MSYS grep take options from variable?

To set my default options for grep (from MSYS in Win7) to ignore object files and specific dirs, I exported GREP_OPTIONS to ~/.profile as follows: export GREP_OPTIONS='--exclude=*.{o,obj,pyc} --...
1
vote
1answer
145 views

Escaping asterisk * in Bash on Windows

The following command works in GNU Bash on FreeBSD but not in Git Bash on Windows: curl -X PUT https://example.com/_config/cors/origins -d '"*"' The intended result is to send a PUT request to ...
1
vote
1answer
187 views

Windows SymLink Questions: How do I tell if a file is symlinked /

I'm not exactely sure how to phrase my questions, I'll describe what I'm doing, perhaps my misconceptions will show. I'm on windows 7. I symlinked files that I'm working on in a project to a sandbox ...
0
votes
1answer
673 views

tmux on Windows (msys2) and non-admin fails

Whe trying to run tmux as a non-admin I'm greeted with failed to connect to server: Permission denied It works fine when running msys-bash-mintty as administrator though. Where should I start ...
0
votes
1answer
118 views

Print Windows mapping of root path in MSYS Bash

In MSYS Bash I get: $ cd ~ $ pwd /c/Users/antonio but: $ cd / $ pwd / Can I get the full Windows absolute path from Bash?
0
votes
1answer
2k views

Install mingw and msys to run c programs on windows

I installed MinGW by using mingw-get-inst-20111118.exe and it works but it is very slow! I don't want to install it online, I remember that I have previously installed MinGW and msys by using two ...
2
votes
0answers
83 views

Windows gVim, shell starts in HOME instead of working directory

I've recently have gotten sick of constantly switching between Windows and Linux and installed gVim and MSYS2 on Windows 7. After a couple hours of searching I have a .vimrc that makes !command, make, ...
2
votes
0answers
553 views

Using the msysgit shell in Emacs for windows

I am relativley new to Emacs and am trying to setup emacs, to allow the following command to open the msysgit shell. M-x bash-shell I have added following snippet to my init.el. (defun bash-shell (...
2
votes
0answers
305 views

msys-1.0's dd on windows

msys-1.0 (MinGW) has an implementation of dd usable on windows (dd.exe) but windows does not have file representations of drives to use with dd. Or does it? Afaik dd operates on files. Is there a way ...
1
vote
0answers
165 views

“git mv *” returns “bad source” in Powershell

When inside a git repository in Powershell or CMD, issuing git mv * whatever will return fatal: bad source, source=*, destination=whatever This works fine when using MSYS (Git Bash).
1
vote
0answers
143 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 ...
1
vote
0answers
709 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
76 views

Msys cd .. command takes me to home directory instead of parent

I'm using Msys on Windows 7 with what I believe to be a Bash shell. I want to navigate the following directory structure: Drive (M:) +--- Coding +--- CPP +--- projects +--- ...
1
vote
0answers
217 views

wget -nd (--no-directories) option not working as expected

I am using wget 1.12 (in msys if it makes a difference) and am trying to mirror a website with the -nd option, since the file and folder names on this site are very long. The docs state that ‘-nd’ ‘--...
1
vote
0answers
218 views

How to do a silent install of MSYS on WIndows XP

I have to install a set of development tools that includes MSYS 1.0.11 on a bunch of Windows XP boxes. Every other tool is built with MSI or can simply be untarred or unzipped to the relevant install ...
0
votes
0answers
33 views

MSYS2 permissions

In Windows 10, with MSYS2 I set my fstab to: none / cygdrive binary,posix=0,acl,user 0 0 I am unable to set execute permissions with chmod, despite having acl set in the fstab: # echo > foo # ...
0
votes
0answers
34 views

`make` error when building gdb 7.11 on Windows 7 using MinGW 4.6.1 and MSYS

I hope this is the right Stack Exchange site to post this question to. I am trying to compile gdb 7.11 on Windows 7 from source and installed MSYS to get a bash shell. I then ran ./configure with the ...
0
votes
0answers
18 views

GnuTLS: undefined reference to 'CertEnumCRLsInStore'

This all started because I wanted to compile FFMPEG with specific options. One or more of these options requires that I have GnuTLS installed as well. So I went through the process of downloading and ...
0
votes
0answers
36 views

Source windows environment variables in MSYS

I have a setenv.cmd script which contains paths for the windows cmd prompt: set CURRENT_SCRIPT_DIR=%~dp0 set PATH=%PATH%;%CURRENT_SCRIPT_DIR%\bin But I'm using bash (via msys in the git for windows ...
0
votes
0answers
46 views

How can I set up a linux-like ssh server on Windows 7?

I have tried two things so far: (1) I installed openssh directly following the steps in this guide https://winscp.net/eng/docs/guide_windows_openssh_server. While this was easy, and worked in the ...
0
votes
0answers
45 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
125 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
50 views

detaching a process from a shell doesn't work as an argument in Windows

I want Windows gVim to inherit its $PATH from MSYS2. This is as simple as starting up an instance of bash then starting gVim from that instance. The problem occurs because I want the startup bash ...
0
votes
0answers
253 views

Install msys2 so c:/ is /

I'm trying to switch from cygwin to msys2. I use cygwin extensively for the Unix tools, not so much for building software but just as my command-line environment to make Windows more Linux-like - I ...
0
votes
0answers
36 views

Unable to install in MSYS2 using Arch Linux pacman

I have installed MSYS2 on Windows and successfully used the Arch Linux pacman installer to get a bunch of programs on there (gcc puthon vim etc). Some things give a "not found" error, though, and I ...
0
votes
0answers
37 views

installing swig i had to untar something using msys, but it doesn't work

i installed MinGW and MSYS required to install swig. using msys terminal it asked me to download pcre-8.36.tar.bz2 form pcre site, and asked me to: "Build PCRE as a static library using the Tools/pcre-...