[LLVMdev] GCC assembler rejects native code generated by LLVM

Jeff Cohen jeffc at jolt-lang.org
Mon Mar 7 08:40:34 PST 2005


I'm confused.  My understanding is that Visual C++ Express does not 
include Visual Studio, which is required to build LLVM.  Anyway, 
assembly code generation is not yet supported using the Microsoft tool 
chain (as documented in the Getting Started with VS page), and when it 
is it will be with NASMW and not GCC.  Not that any of this explains the 
"junk at the end of line" you got.

Vyacheslav Akhmechet wrote:

>I successfully compiled CVS HEAD yesterday on my win32 machine using
>Visual C++ Express (2005). I also have Mingw tools installed. I wrote
>a simple hello world application and generated native assembly code
>using llvm. When I tried to feed the code into GCC, it rejected it
>with "junk at the end of line" error messages. Shouldn't GCC be able
>to assemble this code? I realize win32 port isn't complete but I was
>under the impression that this should work.
>
>Thanks.
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>  
>




More information about the llvm-dev mailing list