Ross Ridge wrote:
Ross Ridge wrote:
MinGW GCC is a native Win32 application and is unaffected by any mounts
you create with MSYS.

Dave Murphy wrote:
It's affected when you run from the msys bash shell, my apologies for
not being clear.

That makes no difference.  MinGW GCC is a native Win32 application and
can't see any mounts you create with MSYS.
sorry but you're most definitely wrong about that.

[EMAIL PROTECTED] /e
$ cat /usr/local/test/test.c
#include <stdio.h>

int main(int argc, char **argv) {

       printf(argv[0]);
       return 0;
}

[EMAIL PROTECTED] /e
$ gcc -v
Reading specs from e:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)

[EMAIL PROTECTED] /e
$ gcc /usr/local/test/test.c -o /usr/local/test/test.exe

[EMAIL PROTECTED] /e
$ /usr/local/test/test.exe
E:\msys\local\test\test.exe
[EMAIL PROTECTED] /e
$

As you can see the paths are translated by the shell before being passed to windows executables.

Dave

Reply via email to