Snow Leopard GHC

2009-09-23 Thread Barney Stratford
I've been trying to get GHC working for x86_64 on Snow Leopard, with a  
certain amount of success, but have got stuck. Maybe one of you could  
point me in the right direction.


I now have a working compiler, but the linker in the runtime system  
seems to be missing some stuff. Specifically, in rts/Linker.c, there  
are references to X86_64_RELOC_UNSIGNED, X86_64_RELOC_SIGNED and so  
on, but it simply barfs when faced with a X86_64_RELOC_SIGNED_1 etc.  
I'd thought it would be a matter of adding a few lines of code, but  
everything I've tried has ended in tears.


Trouble is, none of the documentation mentions X86_64_RELOC_SIGNED_1,  
although it does appear in C headers. It occurs only rarely in source  
examples, and it really isn't clear to me how I should proceed.


Any ideas?

Cheers,
Barney.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Status of GHC as a Cross Compiler

2009-09-23 Thread Donnie Jones
Hello John,

glasgow-haskell-users is a more appropriate list...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

I went ahead and cc'd your message to the list.  Any replies please
include John's email address as I don't think he is subscribed to the
list.

Hope that helps...
--
Donnie Jones

On Wed, Sep 23, 2009 at 1:50 PM, John Van Enk vane...@gmail.com wrote:
 Hi,

 This may be more appropriate for a different list, but I'm having a hard
 time figuring out whether or not we're getting a cross compiler in 6.12 or
 not. Can some one point me to the correct place in Traq to find this
 information?

 /jve

 ___
 Haskell-Cafe mailing list
 haskell-c...@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users