jgoerzen:
On 2004-09-30, Donald Bruce Stewart <dons@cse.unsw.edu.au> wrote:
You can use make -k to keep going, I seem to remember, or use -pgmltrue,
Those tricks got me farther. Now I'm on the target and stuck at:
gmake[5]: Entering directory `/home/jgoerzen/programs/unreg/ghc-6.2.1/ghc/rts/gm p/mpn' m4 -DPIC -DOPERATION_mul_1 mul_1.asm >tmp-mul_1.s /bin/sh ../libtool --mode=compile gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPE RATION_mul_1 -g -O2 tmp-mul_1.s -o mul_1.lo gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mul_1 -g -O2 tmp-mul_1.s -o mul_1.o tmp-mul_1.s: Assembler messages: tmp-mul_1.s:55: Error: Unrecognized opcode: `mulhwu' tmp-mul_1.s:61: Error: Unrecognized opcode: `mulhwu' tmp-mul_1.s:67: Error: Unrecognized opcode: `mulhwu' tmp-mul_1.s:73: Error: Unrecognized opcode: `mulhwu' tmp-mul_1.s:82: Error: Unrecognized opcode: `mulhwu' tmp-mul_1.s:91: Error: Unrecognized opcode: `mulhwu' gmake[5]: *** [mul_1.lo] Error 1 gmake[5]: Leaving directory `/home/jgoerzen/programs/unreg/ghc-6.2.1/ghc/rts/gmp /mpn'
It could be that gmp is a bit too old for your platform. This has been the case on other rarer platforms, and on (all?) 64bit archs. One solution is to install a native, newer libgmp yourself (from the vendor), and then add appropriate flags to have ./configure and gcc/ghc find the library (if it isn't in a standard location). On Irix I needed: export LDFLAGS="-L/usr/freeware/lib64" export CPPFLAGS="-I/usr/freeware/include" cat >> mk/build.mk <<END SRC_CC_OPTS+=-L/usr/freeware/lib64 SRC_HC_OPTS+=-L/usr/freeware/lib64 And you may need similar if libgmp lives somewhere other than /usr/lib on AIX. -- Don