Cross Compiling for x86_64 on x86

Erik Trimble Erik.Trimble at Sun.COM
Mon Dec 7 06:46:09 UTC 2009


Deepak Mathews wrote:
> Hi,
>
> I am trying to cross compile for x86 64 bit from a x86 32 bit host 
> machine.
>
> I am facing a lot of issues in this regard.
>
> Has anyone been able to successfully do this.
>
> Why is the target being linked against libjvm.so which is in the 
> ALT_BOOTDIR on the host system. 
>
> Even if i fix that issue by copying libjvm.so from a 64bit JDK, an 
> adlc utility is run during the compilation, which is of 64 bit, so 
> cannot be executed on the host machine.
>
> Thanks.
>
> Deepak
First off, which platform?  Windows? Linux? Solaris?

Frankly, I don't think we've ever tried doing Windows 64-bit on a 32-bit 
platform, and I can't imagine it would really be easy at all.



-- 
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)




More information about the build-dev mailing list