build macros and includes

Ray Auge rayauge@doublebite.com
Wed Oct 6 02:47:00 GMT 2004


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>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /