This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: powerpc gcj crosscompiler with x86 host


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]