Hi,

I've checked out a fresh ghc from source today and it fails to compile
on my windows machine. I get the following error for which I haven't
found a solution to:
<error>
lib /OUT:.libs/libmpn.lib  mp_bases.o udiv.o umul.o inlines.o add_n.o
sub_n.o mul_1.o addmul_1.o submul_1.o lshift.o rshift.o diveby3.o
divrem.o divrem_1.o divrem_2.o mod_1.o mod_1_rs.o pre_mod_1.o dump.o
mul.o mul_fft.o mul_n.o mul_basecase.o sqr_basecase.o random.o
random2.o sqrtrem.o get_str.o set_str.o scan0.o scan1.o popcount.o
hamdist.o cmp.o perfsqr.o bdivmod.o gcd_1.o gcd.o gcdext.o tdiv_qr.o
bz_divrem_n.o sb_divrem_mn.o jacbase.o copyi.o copyd.o
../libtool: line 1: lib: command not found
make[6]: *** [libmpn.la] Error 127
make[6]: Leaving directory `/cygdrive/c/fptools/ghc/rts/gmp/mpn'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/cygdrive/c/fptools/ghc/rts/gmp/mpn'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/fptools/ghc/rts/gmp'
make[3]: *** [all-recursive-am] Error 2
make[2]: *** [gmp/libgmp.a] Error 2
make[1]: *** [all] Error 1
make[1]: Leaving directory `/cygdrive/c/fptools/ghc'
make: *** [build] Error 1
</error>
This is when making gmp/mpn in the rts.

Also cygpath complains alot here. It seems that it's invoked in a
strange way because it just spits out its help text.

And a final question: What's with the "#if __GLASGOW_HASKELL__ < 604"
in ghc/lib/compat/cbits? I'm compiling with ghc 6.4 and I need to
remove this test to make the compat lib useable.

Cheers,

/Josef
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to