| 62 | | Doing a make maintainer-clean in ghc doesn't delete configure-generated Makefiles in the rts subdirectory? I'll investigate further. |
| | 62 | Doing a make maintainer-clean in ghc doesn't delete configure-generated Makefiles in the rts subdirectory (or possibly just rts/gmp)? I'll investigate further. It also seemed like configure didn't recurse into rts/gmp at all for me. I got this error while running make: |
| | 63 | |
| | 64 | {{{ |
| | 65 | == make all - --unix -r; |
| | 66 | in /c/ghc-builds/ghc/rts |
| | 67 | ------------------------------------------------------------------------ |
| | 68 | make -C gmp MAKEFLAGS= |
| | 69 | make all-recursive |
| | 70 | make[3]: Entering directory `/c/ghc-builds/ghc/rts/gmp' |
| | 71 | Making all in mpn |
| | 72 | make[4]: Entering directory `/c/ghc-builds/ghc/rts/gmp/mpn' |
| | 73 | make[5]: Entering directory `/c/ghc-builds/ghc/rts/gmp/mpn' |
| | 74 | /bin/sh ../libtool --mode=compile /mingw/bin/gcc.exe -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mp_bases -g -O2 -c -o mp_bases.lo mp_bases.c |
| | 75 | /mingw/bin/gcc.exe -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mp_bases -g -O2 -c mp_bases.c -o mp_bases.o |
| | 76 | echo timestamp > mp_bases.lo |
| | 77 | m4 -DPIC -DOPERATION_udiv udiv.asm >tmp-udiv.s |
| | 78 | ../config.m4:24: m4: Cannot open CONFIG_TOP_SRCDIR/mpn/asm-defs.m4: No such file or directory |
| | 79 | NONE:0: m4: ERROR: EOF in argument list |
| | 80 | make[5]: *** [udiv.lo] Error 1 |
| | 81 | make[5]: Leaving directory `/c/ghc-builds/ghc/rts/gmp/mpn' |
| | 82 | make[4]: *** [all-recursive] Error 1 |
| | 83 | make[4]: Leaving directory `/c/ghc-builds/ghc/rts/gmp/mpn' |
| | 84 | make[3]: *** [all-recursive] Error 1 |
| | 85 | make[3]: Leaving directory `/c/ghc-builds/ghc/rts/gmp' |
| | 86 | make[2]: *** [all-recursive-am] Error 2 |
| | 87 | make[1]: *** [gmp/libgmp.a] Error 2 |
| | 88 | }}} |
| | 89 | |
| | 90 | but after going into rts/gmp and running configure by hand, it was fine. |