OS version: Windows XP
MinGW GNU make Version: 3.81
build environment: MSYS 1.0
mingw-runtime version: 3.11
"make" and other MinGW programs converts valid absolute pathes in unix style to invalid pathes internally under Windows when it tries to access/open files.
This happens often in cunjunction with "makefile"s which must be corrected by hand in order to solve the problem.
The path that is really used can be seen using "File Monitor" from "Sysinternals" or similar tools.
If the current working directory is "<drive>:\...\somedir"
the path "/<drive>/.../mydir/file.xyz" is used as "<DRIVE>:\<drive>\...\mydir\file.xyz".
=> now gcc is looking for "C:\c\abc.c"
example b: a Makefile
/c/mingw/bin/gcc -c -o $@ something.c
=> tries to access: "C:\c\dir\mingw\bin\gcc.exe"
Log in to post a comment.