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).