This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: My own problem with gcj
"Joshua R. Poulson" wrote:
> Of course, when I try to run it it can't find libgcj, because the libgcj
> install puts it in the wrong place.
>
> I had to add to my LD_RUN_PATH:
>
> $ export LD_RUN_PATH=/u/jrp/SunOS/lib:/u/jrp/SunOS/sparc-sun-solaris2.6/lib
>
> Everything else, including gcc, puts its libraries in /u/jrp/SunOS/lib for me
> (In other words I do configure --prefix=/u/jrp/SunOS). libgcj puts it in this
> weird directory.
Actually, this bugs me too. I configure egcs and libgcj with the prefix
/usr/local/egcs, and I would expect libgcj to put its shared libraries in
/usr/local/egcs/lib (the same place where the egcs install puts libstdc++),
however libgcj puts them in /usr/local/egcs/i686-pc-linux-gnu/lib, not something
that is normally on ones LD path ;-)
Presumably static libraries should have the target specified in the path (for
compiling for multiple targets), but the shared libs probably shouldn't.
Can this be changed?
regards
[ bryce ]