<div class="gmail_quote">On Sun, Feb 14, 2010 at 3:52 PM, kalyan ponnala <span dir="ltr"><<a href="mailto:ponnala.kalyan@gmail.com">ponnala.kalyan@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I used cmake gui to build the clang/llvm solution file. <br>llc hello.bc -march=x86 -o hello.s<br>this above command works. But the c backend thing does not work in place of x86. <br>
The targets that the llc -version gave me are<br>x86 -32bit<br>x86 - 64bit<br>and the target triple is i686-pc-win32<br><br>now could you tell me if this is right. or else does it have to support any other targets?<br><br>
Thanks </blockquote>
<div> </div>
<div>You need to add the C backend target or build all the targets with cmake.</div>
<div> </div>
<div>-DLLVM_TARGETS_TO_BUILD="X86;CBackend"</div>
<div>-DLLVM_TARGETS_TO_BUILD=all</div></div>