
Hi Magicloud,
Setting build.mk to "BuildFlavour = perf-llvm" means that the GHC
built will be built using the LLVM backend of GHC.
For any build of GHC though, to *use* the LLVM backend of GHC you
simply want to compile with "-fllvm".
The output of inplace/bin/ghc-stage2 �Cinfo won't differ for a GHC
built with the native-code-generator compared to one built with the
LLVM code generator. Both build of GHC will include support for the
native-code-generator and the LLVM backends.
Cheers,
David
On 12 February 2013 08:48, Magicloud Magiclouds
On Wed, Feb 13, 2013 at 12:41 AM, Magicloud Magiclouds
wrote: ./configure --with-gcc=/usr/bin/llvm-gcc
Sorry, I was wrong. with 'with-gcc' option, I got a ld error, which I will post later. Without this option, I got native code generator result because the configure found gcc. Should I or not using this option?
-- ���������ˮ�� ɽ������Ұ�Ʒ�
And for G+, please use magiclouds#gmail.com.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users