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


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



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