[LLVMdev] What is the difference between OSType.Win32 and OSType.MinGW32 ?

Yaron Keren yaron.keren at gmail.com
Sat Mar 1 09:39:06 PST 2014


To the second question, clang on win32-mingw uses gcc (ld) to link the
object files so there should be no difference.



2014-03-01 18:56 GMT+02:00 Carl <name.is.carl at gmail.com>:

> Hello,
>
> I'm generating/compiling/parsing llvm IR code targeting windows 32bits on
> my win7 64bits install.
> And I'm wondering what os should I use in my triple.
> I tried both without seeing much differences.
> Is there supposed to be any ?
> What are the differences between the two OSTypes?
>
> Secondly, I'm doing the linking of the .o files created by llvm with gcc
> from a mingw64 install.
> Should I link the .o. files with clang instead of gcc?
> What benefits could I expect from this change?
>
> Cheers,
> Carl.
>
> _______________________________________________
> 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/20140301/c9893a2e/attachment.html>


More information about the llvm-dev mailing list