This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: cross compiling libgcj for powerpc-linux?
- To: "Mathias Kiss" <mathias_kiss at hotmail dot com>
- Subject: Re: cross compiling libgcj for powerpc-linux?
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 08 Nov 2000 13:41:01 -0700
- Cc: java-discuss at sources dot redhat dot com
- References: <F315CTaogxLDp7mvjkO00001504@hotmail.com>
- Reply-To: tromey at cygnus dot com
>>>>> "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