I see there was a response to this email in the mailing list archives, but I never received it.
The test of the response was: What type of make.exe are you running? MSYS2 or MinGW? (Hint: type `which make` in Bash.) How exactly are you running it? From a Bash script, from a MinGW program, from an MSYS2 program? How are you passing paths to it? Are the paths in a file, on the command line, or in environment variables? If the paths are in arguments, did you try setting the "MSYS2_ARG_CONV_EXCL" environment variable to "-" before invoking Make? To answer the questions: I am using the MSYS2 + MinGW-w64 make I am not running it from a bash script, a MinGW program, or a MSYS2 program. I am passing the paths in the DOS cmd environment variable PATH, as follows set PATH=c:/cygwin64/home/XXX/YYY/MinGW-w64/bin;c:/cygwin64/home/XXX/YYY/MinGW-w64/usr/bin make is invoked properly, but with the Windows style paths (with / instead of \) makes it so that gcc (as invoked from the Makefile) is not found, even though it is in the PATH as set on the DOSC command prompt. The only way I could get around it is to use Cygwin style PATHS. Thanks and regards, Tom From: Kacvinsky, Tom Sent: Wednesday, June 23, 2021 10:06 AM To: '[email protected]' <[email protected]> Subject: Pathing issue Hi, I have found an issue - perhaps a user mistake - which I need to pass Cygwin style paths to make. So instead of c:/path/to/whatever, I need to use /cygdrive/c/path/to/whatever. Is there a way of forcing GNU make on MSYS2 + MinGW-w64 to honor paths of the form the c:/path/to/whatever. FWIW, I am setting the PATH in a DOS shell first, and even tried escaping the : with ^ - the escape character for DOS command prompts (so c^:/). I've also tried the bash escape character (so c\:/). No joy. Any pointers you may have would be appreciated. If you need more information, please let me know. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
