Cross Compiling for x86_64 on x86
Christian.Thalinger at Sun.COM
Mon Dec 7 09:39:22 UTC 2009
On Mon, 2009-12-07 at 14:55 +0530, Deepak Mathews wrote:
> Can the building of OpenJDK made independant of the host machine. Or
> does it run some programs which are dependant (like adlc) which will
> make cross compilation impossible?
> What about cross compiling for MIPS or PPC from the same 32 bit host?
> Will this same VM problem be there for that also?
There problem here is ADLC, which is part of the server compiler. Let
me try to get it built for a 32-bit host...
Cross-compiling IcedTea for MIPS or PPC should work OK, as there is no
server or client compiler port so Zero is used and that builds fine.
You could also build x86_64 Zero (Gary, does that work?) on your 32-bit
system and use that one. But keep in mind that it's C++ interpreter
More information about the build-dev