
Hi all. I'm trying to build my Haskell code using llvm option, but using the command: ghc --make -O2 -fllvm Main.hs -o myapp I get the following warning: Warning: -fllvm is incompatible with -fPIC and -dynamic on this platform; ignoring -fllvm I'm using GHC 7.0.4 (64-bit) on MacOS Lion (10.7) with Xcode 4.1. Thanks in advance for any answer. Luca.

It wasn't working as of GHC 7.0.
You'll probably want to wait until GHC 7.2.1 is released soon - Manuel
has recently gotten the whole testsuite passing on 64bit OS X I think,
and the LLVM codegen works too if I'm not mistaken.
On Sat, Aug 6, 2011 at 6:55 AM, Luca Ciciriello
Hi all.
I'm trying to build my Haskell code using llvm option, but using the command:
ghc --make -O2 -fllvm Main.hs -o myapp
I get the following warning:
Warning: -fllvm is incompatible with -fPIC and -dynamic on this platform; ignoring -fllvm
I'm using GHC 7.0.4 (64-bit) on MacOS Lion (10.7) with Xcode 4.1.
Thanks in advance for any answer.
Luca.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- Regards, Austin

Ok. Thanks. I'll wait the 7.2.1 :-) bye. Luca. On Aug 6, 2011, at 2:05 PM, austin seipp wrote:
It wasn't working as of GHC 7.0.
You'll probably want to wait until GHC 7.2.1 is released soon - Manuel has recently gotten the whole testsuite passing on 64bit OS X I think, and the LLVM codegen works too if I'm not mistaken.
On Sat, Aug 6, 2011 at 6:55 AM, Luca Ciciriello
wrote: Hi all.
I'm trying to build my Haskell code using llvm option, but using the command:
ghc --make -O2 -fllvm Main.hs -o myapp
I get the following warning:
Warning: -fllvm is incompatible with -fPIC and -dynamic on this platform; ignoring -fllvm
I'm using GHC 7.0.4 (64-bit) on MacOS Lion (10.7) with Xcode 4.1.
Thanks in advance for any answer.
Luca.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- Regards, Austin
participants (2)
-
austin seipp
-
Luca Ciciriello