[LLVMdev] GCC assembler rejects native code generated by LLVM

Vyacheslav Akhmechet coffeemug at gmail.com
Tue Mar 8 06:24:28 PST 2005

> Yes, but it won't work in the future because the VC++ build will use
> Intel syntax, not AT&T.
I'm curious, why did you make that decision? It looks like the
infrastructure already supports GNU Assembler perfectly even under an
MSVC build. I understand that you may want to move Win32 users to NASM
but why would you impose artificial limitations? Why not let the users
control the native assembly syntax from the command line/API?

> If you have mingw installed, why not use it to build LLVM?  It's a lot
> more functional.  Mixing and matching Microsoft and GNU tool chains is
> not good for your sanity.
I have very strong antipathy towards GNU build tools. I try to avoid
them whenever I can. Besides, it looked like another MSVC tester could
help advance the state of LLVM on that platform so I decided to give
it a try. Anyway, mixing and matching didn't cause me any problems.
After making this small fix everything worked like a charm.

More information about the llvm-dev mailing list