[Haskell-cafe] How to make ghc 7 with llvm?

Erik de Castro Lopo mle+hs at mega-nerd.com
Fri Apr 29 03:58:00 CEST 2011


Magicloud Magiclouds wrote:

>   As I recalled, ghc started to support llvm from version 7.

Yes.

>   But there is a problem: there is no option to make ghc with llvm.

Its not an option, its a feature that is compiled in by default
and enabled by using -fllvm on the ghc command line.

> So
> Library within ghc source will be in gcc's binary format.

It is my understanding that libraries compiled via the native code
generator (NCG) are fully compatible with libraries compiled with
-fllvm.

> Then when I
> install other packages, they may complain that the binary format is
> not llvm, so they install some libraries again.

You seem to think there is a problem where this is no problem :-).

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Haskell-Cafe mailing list