This is the mail archive of the
mailing list for the GCC project.
Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
On 12/19/06, Bob Rossi <email@example.com> wrote:
If I then untar the mingw-runtime and the w32api into the C:/mingw
directory both the gcc and g++ commands find the header files, however,
they end with this error,
C:\cygwin\home\bar\tmp\main>g++ -o main main.cpp
g++: _spawnvp: No such file or directory
This is most likely because the compiler cannot find as.exe or
ld.exe from binutils (run with the "-v" option to be sure). To resolve
this, just extract the binutils binaries into "$FOO/mingw32"
again (assuming you configured GCC with "--target=mingw32"),
where "$FOO" is the folder where you copied over your GCC
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/