[Haskell-cafe] libgmp for GHC 6.10.1 on Mac OS X 10.5
Alan Mock
docmach at gmail.com
Mon Mar 16 00:03:10 EDT 2009
By default GMP builds for x86_64. Do ./configure ABI=32 to build 32-
bit libraries for GHC.
On Mar 15, 2009, at 10:54 PM, Dean Herington wrote:
> I'm trying to install GHC 6.10.1 on Mac OS X 10.5 (PowerPC). I
> installed Xcode 3.1.2. I built libgmp 4.2.4 and installed it in /
> usr/local/lib. When I do "./configure" in GHC's dist directory,
> however, I get:
>
> bash-3.2$ ./configure
> checking build system type... powerpc-apple-darwin9.6.0
> checking host system type... powerpc-apple-darwin9.6.0
> checking target system type... powerpc-apple-darwin9.6.0
> Which we'll further canonicalise into: powerpc-apple-darwin
> checking for path to top of build tree... dyld: Library not loaded: /
> usr/local/lib/libgmp.3.dylib
> Referenced from: /Users/family/Desktop/Downloads/ghc-6.10.1/dist/
> utils/pwd/pwd
> Reason: no suitable image found. Did find:
> /usr/local/lib/libgmp.3.dylib: mach-o, but wrong architecture
> /usr/local/lib/libgmp.3.dylib: mach-o, but wrong architecture
> configure: error: cannot determine current directory
>
> Any ideas what I'm doing wrong?
>
> Thanks.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list