[LLVMdev] LLVM IR on different platforms
Sandeep Kumar Singh
deepdondo007 at gmail.com
Tue Jul 7 01:06:19 PDT 2015
Hi Jeremy,
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?
Thanks and Regards,
Sandeep
On Tue, Jul 7, 2015 at 1:03 PM, Jeremy Lakeman <Jeremy.Lakeman at gmail.com>
wrote:
> Some LLVM IR could be portable.
>
> 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.
>
> On Tue, Jul 7, 2015 at 3:43 PM, Sandeep Kumar Singh <
> deepdondo007 at gmail.com> wrote:
>
>> Hi,
>>
>> I am curious to know about LLVM IR as platform independent feature.
>> 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.
>>
>> 1) Will this execute without any issues?
>> 2) Do I pass any option for making it operating system portable?
>> 3) Can I generate bit code file also on Linux machine and then run on
>> Windows machine?
>>
>> Please give me some pointers?
>>
>> Any help will be highly appreciated.
>>
>>
>> Thanks and Regards,
>> Sandeep
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
--
Thanks and Regards,
Sandeep Kumar Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150707/f33e53a7/attachment.html>
More information about the llvm-dev
mailing list