GHC porting to FreeBSD-amd64 progress report
Wilhelm B. Kloke
wb at arb-phys.uni-dortmund.de
Mon Dec 3 08:28:51 EST 2007
Simon Marlow <simonmarhaskell at gmail.com> schrieb:
> Wilhelm B. Kloke wrote:
> However, you might want to wait for 6.8.2 in the next few days, as we fixed
> several important bugs.
I have found a couple of small bugs regarding FreeBSD. Changing the
configure process would be helpful.
FreeBSD-amd64 is identified as x86_64-unknown-freebsd, but the
entry in configure uses amd64-*-freebsd*r; this should be made consistent.
The FreeBSD cc needs -L/usr/local/lib and -I/usr/local/lib to
find the native gmp (and possibly others, too) library.
I tried to find out a way to use the FreeBSD-i386 ghc, which runs fine
on FreeBSD-amd64, for bootstrap. The problem in this case is to
substitute the 32bit assembler and linker instead of the 64bit versions.
In case of the assembler the script as32 was usable like this one:
/usr/bin/cc -Xassembler -32 $*
But I failed to figure out the right ld32 script.
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
More information about the Glasgow-haskell-users