This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with jni.h on Solaris


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]