This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
[net release] solution to -mno-cygwin problem
- To: cygwin at sourceware dot cygnus dot com
- Subject: [net release] solution to -mno-cygwin problem
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Tue, 18 Apr 2000 15:49:10 -0500
Thanks to a lovely cold, and I'm home with time to install the new net
release, and of course the first thing I tried was to reproduce the
-mno-cygwin problem reported lately.
Here's the symptom: when you -mno-cygwin, gcc should be looking in mingw
include directory first, but it's not.
The problem: We somehoe mixed up the name mingw and mingw32, and things
have gotten confused. GCC is looking for a directory named:
/usr/i686-pc-cygwin/include/mingw32
whereas the directory is named:
/usr/i686-pc-cygwin/include/mingw
in the net release. Something that will fixed soon.
The solution is any one of the following three:
1. Symbolically link the following:
$ cd /usr/i686-pc-cygwin/include
$ ln -s mingw mingw32
This is what I've done locally.
2. Rename the directory:
$ cd /usr/i686-pc-cygwin/include
$ mv mingw mingw32
Just as easy.
3. Edit the gcc specs file (`gcc -print-file-name=specs'), taking care
not to wrap any lines and so on, and change `mingw32' to `mingw' in
the:
-iwithprefix ../../../../include/mingw32
to
-iwithprefix ../../../../include/mingw
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com