[LLVMdev] GCC assembler rejects native code generated by LLVM

Chris Lattner sabre at nondot.org
Mon Mar 7 08:36:10 PST 2005


On Mon, 7 Mar 2005, 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.

I'm not sure what the issue is, but if you send in the exact .s file 
produced and the errors you're getting, we can fix it. :)

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list