No longer can compile w/ -mno-cygwin
Weber, Neil
Neil.Weber@nike.com
Wed Dec 5 18:48:00 GMT 2001
Hello,
I just upgraded my Cygwin installation and the C++ program that I used to
compile no longer compiles.
I don't remember which version of cygwin I was using for which it did
compile, but it was probably the
September release.
Here's my g++ command line:
g++ -s -mwindows -mno-cygwin -c -o launcher.o launcher.cpp
The error messages are:
launcher.cpp:1: stdio.h: No such file or directory
launcher.cpp:2: stdlib.h: No such file or directory
launcher.cpp:3: ctype.h: No such file or directory
launcher.cpp:4: string.h: No such file or directory
launcher.cpp:5: process.h: No such file or directory
launcher.cpp:6: unistd.h: No such file or directory
launcher.cpp:7: stdlib.h: No such file or directory
In file included from /usr/include/w32api/windef.h:145,
from /usr/include/w32api/windows.h:98,
from launcher.cpp:8:
/usr/include/w32api/winnt.h:33: string.h: No such file or directory
If I remove the -mno-cygwin option, everything compiles. I could go this
way, but I prefer not having to include cygwin1.dll.
Any help is appreciated,
Neil Weber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list