This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem with jni.h on Solaris
- From: Tom Tromey <tromey at redhat dot com>
- To: martin dot kahlert at infineon dot com
- Cc: java at gcc dot gnu dot org
- Date: 20 Mar 2002 11:51:41 -0700
- Subject: Re: Problem with jni.h on Solaris
- References: <20020319155510.A22212@keksy.muc.infineon.com>
- Reply-to: tromey at redhat dot com
>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:
Martin> Is this intented or did i do anything wrong?
Martin> If i compile programs using other compilers than gcc (in my
Martin> case Sun's Forte) i cannot simply add -I/prefix/include to the
Martin> command line, since jni.j includes gcj/libgcj-config.h, which
Martin> is here:
Martin> /prefix/lib/gcc-lib/sparc-sun-solaris2.7/3.1/include/gcj/libgcj-config.h
This change was intentional. Putting an architecture-dependent header
file into $(includedir) violates the GNU coding standards.
You, as the installer of the package, can always make a symlink so
that what you want happens out of the box. Some things like this (and
like the zlib decision) we defer to the packager.
Tom