cross compiling libgcj for powerpc-linux?

Tom Tromey tromey@cygnus.com
Wed Nov 8 12:25:00 GMT 2000


>>>>> "Mathias" == Mathias Kiss <mathias_kiss@hotmail.com> writes:

Mathias> - Can the libgcj-2.95.1 be built for a powerpc target
Mathias> (powerpc-linux / powerpc-8xx-linux)?
I don't know about 2.95.1 in this situation.
I have successfully cross-built libgcj, for a MIPS target.
I've also successfully built libgcj (not 2.95.1 but a more recent
version) for the PPC (native PPC Linux build).
So I'd imagine it is possible, though some small amount of configure
hacking might be required.
Mathias> - Is ther any documentation for building the libgcj for a
Mathias> cross gcj compiler?
Nope :-(
Luckily, though, it is just like cross-building anything else. Just
configure libgcj the same way you configured your cross-gcc.
Mathias> -Which options are needed (--target=... / --host=.. )?
Just like gcc.
Mathias> -Do we have to specify 'CC=powerpc-8xx-linux-gcc
Mathias> AR=powerpc-8xx-ar AS=powerpc-8xx-as
Mathias> RANLIB=powerpc-8xx-linux-ranlib'?
Nope, configure will do this for you.
Mathias> - Should we run 'make all' or 'make bootstrap'? What does
Mathias> 'make bootstrap' do?
`bootstrap' is only used by gcc builds. Don't use it for libgcj.
Mathias> /cross/src/libgcj-2.95.1/boehm-gc/gc_priv.h:469: parse error before `--'
I don't think libgcj 2.95.1 worked on PPC at all.
Tom


More information about the Java mailing list

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