[LLVMdev] -march=c option not working

John Myers atomicdog.jwm at gmail.com
Sun Feb 14 16:03:55 PST 2010

On Sun, Feb 14, 2010 at 3:52 PM, kalyan ponnala <ponnala.kalyan at gmail.com>wrote:

> I used cmake gui to build the clang/llvm solution file.
> llc hello.bc -march=x86 -o hello.s
> this above command works. But the c backend thing does not work in place of
> x86.
> The targets that the llc -version gave me are
> x86 -32bit
> x86 - 64bit
> and the target triple is i686-pc-win32
> now could you tell me if this is right. or else does it have to support any
> other targets?
> Thanks

You need to add the C backend target or build all the targets with cmake.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100214/cad20c3d/attachment.html>

More information about the llvm-dev mailing list