
ok, this is because i think you need a stand alone LLVM backend because ghc
7.4 provides some vectorization stuff that
dph uses, and so i'd suggest installing llvm on its own, or maybe its that
dph calls llvm tools as its compliling?
eg
brew install llvm
because if you look in cabal file
http://hackage.haskell.org/packages/archive/dph-examples/0.6.1.3/dph-example...
you'll see that the build's have the -fllvm flag, and llvm as a standalone
backend isn't installed by developer tools or anything else you ahve
On Fri, Feb 10, 2012 at 2:40 PM, Brandon Allbery
On Fri, Feb 10, 2012 at 13:38, mukesh tiwari
wrote:
Hi Carter Thank you for reply. My mac is 32 bit ( I remember having some issue with ghc-7.2.1 64 bit on 32 bit machine but probably that was on Linux ). I will give it a shot.
Macintosh-0026bb610428:tmp mukesh$ uname -a Darwin Macintosh-0026bb610428.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:48:32 PST 2012; root:xnu-1699.24.23~1/ RELEASE_I386 i386
That just means you have the 32-bit kernel; 64-bit executables still work on most Intel-based Macs even with a 32-bit kernel (the exceptions being early Core 1-based machines), and only machines made within the past year or so boot to a 64-bit kernel by default.
Some where on the internet I saw that llvm comes with Xcode 4.2
I believe it was mentioned to you in #haskell that it is an incomplete LLVM distribution, and you need to install a full LLVM distribution for -fllvm to work properly. IIRC you also need to avoid the just-released LLVM 3 (this may also be part of the problem with Xcode 4.2, which is actually a partial LLVM 3 prerelease).
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe