delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Sun, 12 Dec 1999 00:24:59 -0600 (CST) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
cc: | cygwin users <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: [GCC BUG] -I switch not functioning correctly. |
In-Reply-To: | <19991206221938.18359.qmail@web122.yahoomail.com> |
Message-ID: | <Pine.HPP.3.96.991212002209.3248U-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
On Mon, 6 Dec 1999, Earnie Boyd wrote: > This bug is present in both the Cygwin V1 CD and gcc-2.95.2. I found this > trying out Mumits JNI examples. > > Since I don't know if this is Cygwin specific or not then I haven't forwarded > this to the gcc-bugs list. > > -- Output of make -- > > gcc -c -I. -I/install/jdk1.1.8/include -I/install/jdk1.1.8/include/win32 -g > -Wall -O2 -v -o invoke.o invoke.c Ok, let's see what gcc sees. You're telling it to search directories /install/jdk1.1.8/include and /install/jdk1.1.8/include/win32 for jdk includes. So far so good. > Reading specs from > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/spe > cs [ ... ] > GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax) > #include "..." search starts here: > #include <...> search starts here: > . > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../include > > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygw > in/include > /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/include > /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include > /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../i686-cygwin/include > /usr/include Now note the problem here. There are no signs of either of the jdk include directories! > End of search list. > The following default directories have been omitted from the search path: > /usr/lib/gcc-lib/i686-cygwin/2.95.2/../../../../include/g++-3 Nor are they here, which would be the case normally if the paths were inaccessible. I really don't have a clue, sorry. Can you do a $ cat /install/jdk1.1.8/include/<SOME_FILE_NAME> Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |