<div dir="ltr"><div>Hi Jeremy,</div><div> </div><div>Thanks for detailed explanation. It is OK for C and C++, but as I know, Java is platform independent, will I face the same issue with it?</div><div> </div><div>Thanks and Regards,</div><div>Sandeep</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 1:03 PM, Jeremy Lakeman <span dir="ltr"><<a href="mailto:Jeremy.Lakeman@gmail.com" target="_blank">Jeremy.Lakeman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Some LLVM IR could be portable. </div><div><br></div><div>But the C/C++ languages are not designed to be portable in that way. Your application will be including system headers with platform specific information in them. For example, platform specific decisions about structure memory layout, or runtime function names for linking against.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jul 7, 2015 at 3:43 PM, Sandeep Kumar Singh <span dir="ltr"><<a href="mailto:deepdondo007@gmail.com" target="_blank">deepdondo007@gmail.com</a>></span> wrote:<br></div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I am curious to know about LLVM IR as platform independent feature.</div><div>I have compiler some C and C++ applications that compiled on Linux 64bit machine, now I want to generate bit code file on Windows 64bit machine.</div><div><br></div><div>1) Will this execute without any issues? </div><div>2) Do I pass any option for making it operating system portable? </div><div>3) Can I generate bit code file also on Linux machine and then run on Windows machine?</div><div><br></div><div>Please give me some pointers?</div><div><br></div><div>Any help will be highly appreciated.<br clear="all"><div><br></div><br><div>Thanks and Regards,<br>Sandeep</div>
</div></div>
<br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><br>Thanks and Regards,<br>Sandeep Kumar Singh</div>
</div>