[LLVMdev] GCC assembler rejects native code generated by LLVM

Vyacheslav Akhmechet coffeemug at gmail.com
Mon Mar 7 08:38:19 PST 2005

I'm at work so I don't have exact details at the moment. I'll send the
.s file and the errors tonight.

Thanks for the quick reply!

On Mon, 7 Mar 2005 10:36:10 -0600 (CST), Chris Lattner <sabre at nondot.org> wrote:
> 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