progress on Darwin x86 port?

Rodney D Price rodprice at raytheon.com
Tue Jun 27 18:51:07 EDT 2006


Thanks!  I first downloaded the binary from pugs.blogs.com and  
installed it.
When I tried to compile a small program, I got this:

 > ghc -o hello hello.hs
dyld: Library not loaded: GMP.framework/Versions/A/GMP
   Referenced from: /usr/local/lib/ghc-6.5.20060608/ghc-6.5.20060608
   Reason: no suitable image found.  Did find:
         /Library/Frameworks/GMP.framework/Versions/A/GMP: mach-o,  
but wrong architecture
Trace/BPT trap

I then downloaded the binary from www.uni-graz.at and unpacked it.  The
file was corrupted, but I did get the GMP.framework out of it.  Upon  
removing
the first GMP.framework and substituting this one in its place, I was  
able to
compile my simple program.

It appears to be working now.  Thanks again,

-Rod


On Jun 27, 2006, at 4:03 PM, <rfh at reillyhayes.com> wrote:

>
> Take a look here:
>
> http://hackage.haskell.org/trac/ghc/wiki/X86OSXGhc
>
> -reilly hayes
>
>
> From Rodney D Price <rodprice at raytheon.com> on 27 Jun 2006:
>
>>
>> Hi,
>>
>> Some time ago I persuaded my employer to buy me a new Intel-based  
>> Mac.
>> While it runs fast, it doesn't compile many open-source programs,
>> including
>> ghc.  On perusing the list archives, I found one or two people
>> working on a
>> port.  What's the status?
>>
>> Right now I'm writing Haskell code using ghci, which is running under
>> Rosetta.
>> Is it possible to build an unregisterised version of ghc that would
>> at the very
>> least emit executable binaries on Intel Macs?
>>
>> Thanks,
>>
>> -Rod
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>>



More information about the Glasgow-haskell-users mailing list