[GCC BUG] -I switch not functioning correctly.

Earnie Boyd earnie_boyd@yahoo.com
Mon Dec 6 14:19:00 GMT 1999


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
Reading specs from
/install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/spe
cs
gcc version 2.95.2 19991024 (release)
 /install/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/cpp.exe -lang-c -v 
 -I. -I/install/jdk1.1.8/include -I/install/jdk1.1.8/include/win32 -iprefix /in
stall/gcc-2.95.2/bin/../lib/gcc-lib/i686-cygwin/2.95.2/ -D__GNUC__=2
-D__GNUC_MI
NOR__=95 -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1
-D__stdcall=__attribute_
_((__stdcall__)) -D__cdecl=__attribute__((__cdecl__))
-D__declspec(x)=__attribut
e__((x)) -D__i386__ -D_WIN32 -D__WINNT__ -D_X86_=1 -D__STDC__=1
-D__stdcall=__at
tribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__))
-D__declspec(x)=__
attribute__((x)) -D__i386 -D__WINNT -Asystem(winnt) -Acpu(i386) -Amachine(i386)
-D__OPTIMIZE__ -g -Wall -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386
-D__i
386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__
-D__CYGWIN3
2__ -D__CYGWIN__ invoke.c D:\root\Cygwin\/tmp/ccDlpXPm.i
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
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
End of omitted list.
invoke.c:1: jni.h: No such file or directory
make: *** [invoke.o] Error 1

-- End output from make --

=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list