[LLVMdev] LLVM IR on different platforms

Jeremy Lakeman Jeremy.Lakeman at gmail.com
Tue Jul 7 00:33:32 PDT 2015


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150707/bea900f0/attachment.html>


More information about the llvm-dev mailing list