This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
No longer can compile w/ -mno-cygwin
- From: "Weber, Neil" <Neil dot Weber at nike dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 5 Dec 2001 17:21:00 -0800
- Subject: No longer can compile w/ -mno-cygwin
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/