This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/bin before /usr/bin makes i686-w64-mingw-gcc fail


During some unfortunate events I happened to get /bin as the first directory in my PATH. This caused the gcc cross compilers to fail with:

    i686-w64-mingw32-gcc: error: spawn: No such file or directory

With -v is said

    Using built-in specs.
    COLLECT_GCC=i686-w64-mingw32-gcc
    Target: i686-w64-mingw32
    Configured with: ...  --enable-lto
    Thread model: win32
    gcc version 4.8.2 (GCC)
    COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=pentiumpro'
cc1 -quiet -v -iprefix /bin/../lib/gcc/i686-w64-mingw32/4.8.2/ -U_REENTRANT exe.c -quiet -dumpbase exe.c -mtune=generic -march=pentiumpro -auxbase exe -version -o /tmp/cct8mpeq.s
    i686-w64-mingw32-gcc: error: spawn: No such file or directory

As you can see the 'cc1' does not have a path in front of it. After some investigation I also found that it did not announce its use of COLLECT_LTO_WRAPPER although it was configured with it.

I am just curious if this is expected behvaiour, something I should report, or just leave it.

Once I found it, it was not a problem, of course.

Regards,
    Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]