powerpc gcj crosscompiler with x86 host

Anthony Green green@redhat.com
Fri Sep 14 10:21:00 GMT 2001


Some corrections...
> 1) Check out the latest sources for binutils and gcc.

You'll also want newlib.

> 2) Configure bintuils with
> "--program-prefix=powerpc-elf- --target=powerpc-elf", then build and install

This should actually be powerpc-eabi.  My mistake.

> 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.

Actually, you'll want to build and install the C compiler, then build and
install newlib, then return to GCC and configure/build the target libraries
(boehm-gc, libjava)

AG




More information about the Java mailing list