> Apparently, it's needed to set the path for MSYS bin directory when using
> msysDVLPR-1.0.0-alpha-1, otherwise GCC cannot execute.
> I took a basic "hello world" as an example:
> Manu@... /c/dev/Visual-MinGW/Projects/Samples/Console/Hello
> $ make
> gcc -W -Wall -pedantic -O2 -c -o main.o main.c
> gcc: installation problem, cannot exec `/bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/cpp0.exe':
> Permission denied
> make: *** [main.o] Error 1
> Then, a message box says that MSYS-1.0.dll cannot be found.
> This problem is quite obvious, since cpp0.exe depend on MSYS-1.0.dll.
> OTOH, it seems dangerous to set the path in that case, since invoking
> 'make' from any directory could accidentally build a MSYS dependent binary.
I checked that, just for fun and as expected I built a MSYS hello world from a
> If I'm right, it's not possible to copy the dll to several locations:
> "The automatic mounts are relative to where the msys-1.0.dll (DLL) is located."
> I stupidly tried to set the path into msys.bat, but It doesn't help much.
Yes, stupidly. It works fine indeed:
gcc -W -Wall -pedantic -O2 -c -o main.o main.c
gcc -s -o hello.exe main.o
My msysDVLPR lives in "C:\DEV\MSYS-DEV\1.0\BIN", then:
--- copie de msys.bat Thu Oct 31 12:28:34 2002
+++ msys.bat Sun Nov 17 18:50:16 2002
@@ -16,6 +16,9 @@ rem ember to set the "Start in:" field o
rem A value similar to C:\msys\1.0\bin is what the "Start in:" field needs
rem to represent.
+rem set the path for msysDVLPR.
if "x%MSYSTEM%" == "x" set MSYSTEM=MINGW32
if "%1" == "MSYS" set MSYSTEM=MSYS