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]

Re: build macros and includes


Hey Tom, All,

So, I'm stuck with a kludge. There wouldn't happen to be a script or a
call I can make to gcj to locate libgcj's jni.h?

Right now it looks like if we want to make this work with relative ease
on multiple distros/archs we're gonna have many special cases to deal
with.

Debian /usr/include/jni.h
Mandrake /usr/include/libgcj-${version}/jni.h
FC/RedHAt /usr/lib/gcc-lib/${arch}-redhat-linux/${version}/include/jni.h

to name a few...

Am I really missing something.

PS: It's my first time putting this much consideration into a build. I
hope I'm not being a pest.


On Tue, 2004-10-05 at 09:10 -0600, Tom Tromey wrote:
> >>>>> "Ray" == Ray Auge <rayauge@doublebite.com> writes:
> 
> Ray> No, pkg-config seems like the right way to go. Unfortunately, I just
> Ray> tested it on my current system (YellodDog 3.0.1/PPC) and 
> Ray> pkg-config --version libgcj
> Ray> returns
> Ray> 0.15.0
> Ray> Which, I don't have to tell you, isn't at all helpful.
> 
> "pkgconfig --version" prints the version of pkgconfig.
> You want --modversion:
> 
> opsy. pkg-config --version libgcj
> 0.15.0
> opsy. pkg-config --modversion libgcj
> 3.4.0
> 
> Tom
-- 
Ray Auge <rayauge@doublebite.com>


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