resending- adding the alias.<br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 2:35 PM, Vikram A <span dir="ltr"><<a href="mailto:vikram.account@gmail.com">vikram.account@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi Deepak,<br><br>Incomplete information, please also specify the workspace you are trying to build. Also, please share the errors generated.<br>Putting uname -a in the first mail itself helps alongwith appropriate cat /etc/release<br>


e.g cat /etc/redhat-release<br><br>I guess it is hotspot in this case, in which case the following would be relevant. <br><br>Let me try to put some points which might be useful.<br>(Of course, if you see differences in Erik's comments from mine,  he is the final authority.)<br>

<br>1. I haven't yet heard of building a 64 bit VM on a 32 bit, the other way might still be ok.<br>My guess is a 64 bit VM will not be able to load correctly on 32 a bit machine.  Copying the libjvm.so will not help, in that case.<br>

It might just see a reference and proceed, but end up loading the 32 bit VM.<br><br>2. If you are trying to build on a different kind of machine (crossing the vm bit length and the machine bit length) and not specifying the ARCH_MODEL explicitly, please try to do so.<br>

This may give out errors correctly.<br><br>3. Also as a side note, a 32 bit build should not require link to 64 bit JVM even as a ALT_BOOTDIR.<br><br>but a 64 bit VM would require atleast 4 libjvm.so.<br>32 bit  libjvm.so<br>

32 bit libjvm_g.so<br>64 bit libjvm.so<br>64 bit libjvm_g.so <br><br>The 64 bit VM does not run on its own, it required a support of 32 bit vm as well.<br>It will work something like the last line in pt 1 above.<br><br>4. >>an adlc utility is run during the compilation, which is of 64 bit, so cannot be executed on >>the host machine.<br>

Goes back to pt 1. Yes, adlc is architecture dependant and will not run on 32 bit.<br>Like I mentioned above the other way, (build 32 bit on a 64 bit ) would probably be ok.<br><br><br>rgds,<br><font color="#888888">Vikram.</font><div>
<div></div><div class="h5"><br><br><br><br><br>
<br><div class="gmail_quote">On Mon, Dec 7, 2009 at 12:45 PM, Deepak Mathews <span dir="ltr"><<a href="mailto:deepak2427@gmail.com" target="_blank">deepak2427@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<span style="border-collapse: collapse;">Hi,<div><br></div><div>Thank you Eric, for your quick reply.</div><div><br></div><div>Sorry, I had forgot to mention the platform.</div><div><br></div><div>
It is Linux.</div><div><br></div><div>Thanks.</div><div>Deepak</div></span><div><div></div><div><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 12:16 PM, Erik Trimble <span dir="ltr"><<a href="mailto:Erik.Trimble@sun.com" target="_blank">Erik.Trimble@sun.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Deepak Mathews wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am trying to cross compile for x86 64 bit from a x86 32 bit host machine.<br>
<br>
I am facing a lot of issues in this regard.<br>
<br>
Has anyone been able to successfully do this.<br>
<br>
Why is the target being linked against libjvm.so which is in the ALT_BOOTDIR on the host system. <br>
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.<br>
<br>
Thanks.<br>
<br>
Deepak<br>
</blockquote></div></div>
First off, which platform?  Windows? Linux? Solaris?<br>
<br>
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.<br><font color="#888888">
<br>
<br>
<br>
-- <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>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>