Hi,<div><br></div><div>Thank you guys for your info.</div><div><br></div><div>I will try to do what Christian said. Hope it works.</div><div><br></div><div>Anyways if it does not work correctly then, it cannot be cross compiled I guess.</div>
<div><br></div><div>Thanks a lot.</div><div><br></div><div>Regards,</div><div>Deepak<br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 3:55 PM, Erik Trimble <span dir="ltr"><<a href="mailto:Erik.Trimble@sun.com">Erik.Trimble@sun.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">Christian Thalinger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 2009-12-07 at 10:39 +0100, Christian Thalinger wrote:<br>
  <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There problem here is ADLC, which is part of the server compiler.  Let<br>
me try to get it built for a 32-bit host...<br>
    <br>
</blockquote>
<br>
A really ugly (but possibly working) hack to build a full OpenJDK<br>
successfully would be to copy a 32-bit adlc over the 64-bit one when the<br>
build fails:<br>
<br>
$ cp build/solaris/solaris_i486_compiler2/generated/adfiles/adlc build/solaris/solaris_amd64_compiler2/generated/adfiles/adlc<br>
<br>
Then just restart the build.<br>
<br>
-- Christian<br>
<br>
  <br>
</blockquote></div></div>
Yes.<br>
<br>
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.<br>

<br>
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. <br><div><div></div><div class="h5">
-- <br>
Erik Trimble<br>
Java System Support<br>
Mailstop:  usca22-123<br>
Phone:  x17195<br>
Santa Clara, CA<br>
Timezone: US/Pacific (GMT-0800)<br>
<br>
</div></div></blockquote></div><br></div>