Cross Compiling for x86_64 on x86

Deepak Mathews deepak2427 at gmail.com
Mon Dec 7 12:14:12 UTC 2009


Hi,

Thank you guys for your info.

I will try to do what Christian said. Hope it works.

Anyways if it does not work correctly then, it cannot be cross compiled I
guess.

Thanks a lot.

Regards,
Deepak

On Mon, Dec 7, 2009 at 3:55 PM, Erik Trimble <Erik.Trimble at sun.com> wrote:

> Christian Thalinger wrote:
>
>> On Mon, 2009-12-07 at 10:39 +0100, Christian Thalinger wrote:
>>
>>
>>> There problem here is ADLC, which is part of the server compiler.  Let
>>> me try to get it built for a 32-bit host...
>>>
>>>
>>
>> A really ugly (but possibly working) hack to build a full OpenJDK
>> successfully would be to copy a 32-bit adlc over the 64-bit one when the
>> build fails:
>>
>> $ cp build/solaris/solaris_i486_compiler2/generated/adfiles/adlc
>> build/solaris/solaris_amd64_compiler2/generated/adfiles/adlc
>>
>> Then just restart the build.
>>
>> -- Christian
>>
>>
>>
> Yes.
>
> However, frankly, I'd seriously recommend that you use a native OS install
> to build the 64-bit JDK for either Windows or Linux.  Even for Solaris,
> where the 32/64 bit libraries and such are very well segregated, there's
> lots to go wrong.
>
> With the proliferation of LiveCD distros out there, if you don't want to do
> an actual install to Hard Drive, you can still do a build when booted from
> LiveCD.
> --
> Erik Trimble
> Java System Support
> Mailstop:  usca22-123
> Phone:  x17195
> Santa Clara, CA
> Timezone: US/Pacific (GMT-0800)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20091207/ab30ddcc/attachment.html>


More information about the build-dev mailing list