This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: powerpc gcj crosscompiler with x86 host
- To: "Stefan Wanner" <stefan dot wanner at ymail dot ch>, <java at gcc dot gnu dot org>
- Subject: Re: powerpc gcj crosscompiler with x86 host
- From: "Anthony Green" <green at redhat dot com>
- Date: Fri, 14 Sep 2001 10:01:06 -0700
- References: <3BA2323D.6040205@ymail.ch>
Stefan wrote:
> is there anybody out there who has successfully build a powerpc cross
> toolchain for a x86 host system, INCLUDING java support (gcj with libgcj)?
Yes - I have done this (although without thread support -- is this important
for you?).
What is the latest problem you're having?
Here are the basic steps I suggest....
1) Check out the latest sources for binutils and gcc.
2) Configure bintuils with
"--program-prefix=powerpc-elf- --target=powerpc-elf", then build and install
3) Hack the GCC configure files to build libjava and boehm-gc for powerpc-elf.
4) Make sure the binutils you just built are on your path, then configure gcc
with "--program-prefix=powerpc-elf- --target-powerpc-elf", build and install.
There will likely be problems, but if you take these basic steps we can work
them out as we go.
AG