Re: -rtsopts doesn't work on Snow Leopard

2010-03-31 Thread Ian Lynagh
On Wed, Mar 31, 2010 at 12:41:49PM +1100, Roman Leshchinskiy wrote: > With -rtsopts, GHC compiles an additional C file using mkExtraCObj. > This function calls runCc but doesn't pass machdepCCOpts to it, > producing a 64 bit file on Snow Leopard instead of 32 bit one which > breaks linking. The fix

-rtsopts doesn't work on Snow Leopard

2010-03-30 Thread Roman Leshchinskiy
With -rtsopts, GHC compiles an additional C file using mkExtraCObj. This function calls runCc but doesn't pass machdepCCOpts to it, producing a 64 bit file on Snow Leopard instead of 32 bit one which breaks linking. The fix is probably just to add machdepCCOpts to the gcc call but I can't test t