Some observations on developing with gcj
Mark Wielaard
mark@klomp.org
Thu Jul 3 10:40:00 GMT 2003
Hi,
On Tue, 2003年07月01日 at 04:33, Jeff Sturm wrote:
> On 30 Jun 2003, Mark Wielaard wrote:
> > > Does it still fail if you link with a static libgcj.a and libc DSO? I've
> > > been using that as a workaround until libgcj has a stable ABI.
> >
> > Interesting idea. But how do I actually produce such a binary?
>> I wish it were easier! The quick-and-dirty way is to remove
> prefix/lib/libgcj.so before you link.
>> Otherwise experiment with -Bstatic/-Bdynamic, roughly:
> [...]
Thanks for the tips.
But now I seem to have to setup a machine with an older versions of
ld-linux and libc but with the latest version of gcj otherwise on
slightly older machines you get:
./snark: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by ./snark)
./snark: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by ./snark)
./snark: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./snark)
To bad staticly and/or shared glibc binaries are not really compatible
on different systems.
> JVGENMAIN = /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.5-tree-ssa/jvgenmain
BTW. Why is this utility installed in such an obscure place? It seems
like a general useful thing to have.
Cheers,
Mark
More information about the Java
mailing list