[cvs-nhc98] patch applied (nhc98): Fixed ARCH confusion
Sven Panne
sven.panne at aedion.de
Thu Mar 1 10:47:24 EST 2007
On Thursday 01 March 2007 14:58, Malcolm Wallace wrote:
> [...]
> > The correct way to compile ghc_floats.c would be using GHC itself,
> > because then ABI compability is guaranteed. Due to my limited
> > knowledge of nhc98's build system, I leave this to Malcolm...
>
> That would make sense.
OK, with all the recent changes I get quite far, but only because I have a
local modification of the nhc98 script: When processing a *.gc file, it
uses "ld -r" to partially link together the C part and the Haskell part. To
make this work in the presence of the -m32 hack, one has to add " -melf_i386"
to the "ld -r" lines, telling ld to use the elf_i386 emulation. Other
platforms will of course need other emulations. I am not sure how to fix this
in a portable way, perhaps one can use "gcc -m32" somehow for this partial
linking step? Hmmm, ideas would be highly welcome...
Cheers,
S.
More information about the Cvs-nhc98
mailing list