<div dir="ltr">On Tue, Feb 12, 2013 at 11:41 AM, Magicloud Magiclouds <span dir="ltr"><<a href="mailto:magicloud.magiclouds@gmail.com" target="_blank">magicloud.magiclouds@gmail.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> Then I `mv build.mk.sample <a href="http://build.mk" target="_blank">build.mk</a>`, set "BuildFlavour = perf-llvm", add "GhcWithLlvmCodeGen = YES". Finally `./configure --with-gcc=/usr/bin/llvm-gcc`. Configure output attached.</div>
<div><br></div><div> After make, I tried `<span style="font-family:Georgia,'Times New Roman',Times,serif;font-size:14px;line-height:25px">inplace/bin/</span><span style="font-family:Georgia,'Times New Roman',Times,serif;font-size:14px;font-style:italic;line-height:25px">ghc-stage2 –info`, it is still using native code generator. What should I do?<br>
</span></div></div></blockquote><div><br></div><div>1. I think --with-gcc= is independent of the llvm code generator.</div><div>2. Building the llvm codegen does not necessarily make it the *default* codegen; I think native remains default. I don't know if there's a way to specify that llvm should be the default code generator.</div>
<div><br></div><div>fwiw, the ghc I have on here does not mention llvm in ghc --info, but ghc -fllvm at least tries to work.</div><div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div>
<div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div>
</div>
</div>