GHC/Happy on MacOS X/Darwin
Hans Aberg
haberg@matematik.su.se
Wed, 3 Jan 2001 21:03:56 +0100
At 20:48 +0100 1-01-03, Atze Dijkstra wrote:
>At 19:01 +0100 03/01/2001, Hans Aberg wrote:
>> >- The MacOS X cc (c compiler) has some (blocking) bugs (for example,
>>>problems with asm statements) which hinder progress.
>>
>>Isn't this related to the "munging" that GHC makes use of on other platforms?
>
>Apple's cc (actually gcc) does not accept 'asm' statements the way the
>manual describes it (it fails to parse them). asm statements are used to
>map GHC runtime pseudo registers to actual powerpc machine registers. The
>assembly source postprocessing does not work either (it is turned off) but
>is not related to this problem (to my knowledge).
I think that it was Will Partain that described the problem as though one
had to do some assembly local to the CPU in order to get put the munging
through (perhaps I misunderstood it). -- So even if Apple's gcc accepted
asm, there would some (hard) work to do, in figuring out how the PPC (G3 &
G4) assmebly worked.
Hans Aberg