Problem with jni.h on Solaris
Martin Kahlert
martin.kahlert@infineon.com
Tue Mar 19 06:55:00 GMT 2002
Hi!
Is this intented or did i do anything wrong?
$ gcc -v
Reading specs from
/data/titan_1/kahlert/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/specs
Configured with: ../gcc-20020318/configure
--prefix=/data/titan_1/kahlert/gcc-3.1 --enable-languages=c++,f77,java
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-threads
--disable-shared
Thread model: single
gcc version 3.1 20020318 (prerelease)
If i compile programs using other compilers than gcc (in my case
Sun's Forte) i cannot simply add -I/prefix/include to the command line,
since jni.j includes gcj/libgcj-config.h, which is here:
/prefix/lib/gcc-lib/sparc-sun-solaris2.7/3.1/include/gcj/libgcj-config.h
In gcc-20020311 it was there instead
/prefix/include/gcj/libgcj-config.h
and everything worked o.k.
Thanks,
Martin.
PS: I linked it there manually and it works again, but it should
work out of the box.
--
The early bird catches the worm. If you want something else for
breakfast, get up later.
More information about the Java
mailing list