[LLVMdev] how to compile asm output for x86 with Micorsoft's ML

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Thu Jan 21 19:20:17 PST 2010

Did pecoff support means we can linkage llvm generated obj files to
msvc's obj files?

2010/1/22, Jim Crafton <jim.crafton at gmail.com>:
>> Nope, llvm's .s output is only compatible with GAS and other at&t syntax
>> assemblers.  It turns out that MASM syntax is highly ambiguous and MASM is
>> not production quality for use by a compiler.  This is why visual studio
>> doesn't go through it.  Long term, we'd like LLVM to be able to write out
>> .o
>> files directly, if you're interested in adding PECOFF support, that would
>> be
>> very nice :)
> Crapola. I was afraid that was going to be the case. This was
> originally something to do to have fun playing with Objective C, I'm
> not sure PECOFF support would fall under that :)  Any idea how nasty
> that would be?
> Oh well, I guess the idea of doing this on windows isn't going to
> happen anytime soon.
> Cheers
> Jim
>> -Chris
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


Yonggang Luo

More information about the llvm-dev mailing list