[Q] Need help installing ghc on NetBSD
Matthias Fischmann
fis at ssh.com
Wed Apr 4 10:04:03 EDT 2001
> > I reconfigured gmp so that it falls back to the pure C implementation,
> > and the problem disappeared. Is the gmp stuff in ghc maintained at
> > Glasgow, or are you syncing your code with the official distribution?
>
> It's an almost exact copy of the official distribution, with a few minor
> tweaks to the configuration stuff, as I recall. Is the bug in the GMP
> configuration, or in our build system?
With NetBSD 1.3.2 and gmp-2.0.2, `./configure && gmake && gmake check'
works fine. Since this is not the case in the ghc-4.08.2 source dist,
I assume that it must be a ghc problem. Note that the targets differ
slightly: it's `i386-unknown-netbsd1.3.2' in the originial and
`i386-unknown-netbsd' in the rts. As I mentioned earlier going to
ghc/rts/gmp and reconfiguring with `--target=unknown' does the trick.
Coming to NetBSD 1.5 again (my next target platform), I did not manage
to compile gmp-2.0.2 standalone but it works fine in the ghc distrib
if target is set to NONE.
Maybe gmp-2.0.2 is simply to old for NetBSD 1.5. Should I try a copy
from anoncvs? Whichever you tell me...
-Matthias
--
Matthias Fischmann | Research Engineer | +358 (9) 8565 7474
fis at ssh.fi | SSH Communication Security Corp | +358 (40) 752 5291
More information about the Glasgow-haskell-bugs
mailing list