I tried to build with the following configuration:<br><br>./configure --build=i368-pc-mingw32 --enable-fat -prefix=c:/assembler/gmpinstall --disable-static --enable-shared<br><br>make<br><br>The linker failed:<br><br>c:/MinGW/mingw32/bin/ld.exe -r -o .libs/libgmp.la-
2.o mpn/.libs/gcdext.o mpn/. <br>libs/tdiv_qr.o mpn/.libs/dc_divrem_n.o mpn/.libs/sb_divrem_mn.o mpn/.libs/jacb <br>ase.o mpn/.libs/get_d.o mpn/.libs/mullow_n.o mpn/.libs/mullow_basecase.o mpn/.
<br>libs/umul.o mpn/.libs/udiv.o mpn/.libs/addsub_n.o printf/.libs/asprintf.o prin <br>tf/.libs/asprntffuns.o printf/.libs/doprnt.o printf/.libs/doprntf.o printf/.li <br>bs/doprnti.o printf/.libs/fprintf.o printf/.libs/obprintf.o printf/.libs/obvpr
<br>intf.o printf/.libs/obprntffuns.o printf/.libs/printf.o printf/.libs/printffun <br>s.o printf/.libs/snprintf.o printf/.libs/snprntffuns.o printf/.libs/sprintf.o <br>printf/.libs/sprintffuns.o printf/.libs/vasprintf.o printf/.libs/vfprintf.o pr
<br>intf/.libs/vprintf.o printf/.libs/vsnprintf.o printf/.libs/vsprintf.o printf/. <br>libs/repl-vsnprintf.o scanf/.libs/doscan.o scanf/.libs/fscanf.o scanf/.libs/fs <br>canffuns.o
scanf/.libs/scanf.o scanf/.libs/sscanf.o scanf/.libs/sscanffuns.o s <br>canf/.libs/vfscanf.o scanf/.libs/vscanf.o scanf/.libs/vsscanf.o .libs/libgmp.l <br>a-1.o<br> 0 [main] sh 5740 open_stackdumpfile: Dumping stack trace to
sh.exe.stack <br>dump<br>./libtool: line 1: 5740 Segmentation fault (core dumped) c:/MinGW/mingw3 <br>2/bin/ld.exe -r -o .libs/libgmp.la-2.o mpn/.libs/gcdext.o mpn/.libs/tdiv_qr.o
<br>mpn/.libs/dc_divrem_n.o mpn/.libs/sb_divrem_mn.o mpn/.libs/jacbase.o mpn/.libs <br>/get_d.o mpn/.libs/mullow_n.o mpn/.libs/mullow_basecase.o mpn/.libs/umul.o mpn <br>/.libs/udiv.o mpn/.libs/addsub_n.o printf/.libs/asprintf.o printf/.libs/asprnt
<br>ffuns.o printf/.libs/doprnt.o printf/.libs/doprntf.o printf/.libs/doprnti.o pr <br>intf/.libs/fprintf.o printf/.libs/obprintf.o printf/.libs/obvprintf.o printf/. <br>libs/obprntffuns.o printf/.libs/printf.o printf/.libs/printffuns.o printf/.lib
<br>s/snprintf.o printf/.libs/snprntffuns.o printf/.libs/sprintf.o printf/.libs/sp <br>rintffuns.o printf/.libs/vasprintf.o printf/.libs/vfprintf.o printf/.libs/vpri <br>ntf.o printf/.libs/vsnprintf.o printf/.libs/vsprintf.o printf/.libs/repl-vsnpr
<br>intf.o scanf/.libs/doscan.o scanf/.libs/fscanf.o scanf/.libs/fscanffuns.o scan <br>f/.libs/scanf.o scanf/.libs/sscanf.o scanf/.libs/sscanffuns.o scanf/.libs/vfsc <br>anf.o scanf/.libs/vscanf.o scanf/.libs/vsscanf.o .libs/libgmp.la-
1.o<br>make[2]: *** [<a href="http://libgmp.la">libgmp.la</a>] Error 139<br>make[2]: Leaving directory `/c/assembler/gmp-4.2.2'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/c/assembler/gmp-4.2.2
'<br>make: *** [all] Error 2<br><br><br><br>I had previously done an apparently successful build at different options, although the check had failed (there seemed to be a path broken at a space). I moved the directory so that there was no space in the path, redone the configure, did "make clean" and the the make that failed.
<br><br>ld's version is:<br>$ ld --version<br>GNU ld version 2.17.50 20060824<br>Copyright 2005 Free Software Foundation, Inc.<br>This program is free software; you may redistribute it under the terms of<br>the GNU General Public License. This program has absolutely no warranty.
<br><br>$ gcc --version<br>gcc.exe (GCC) 3.4.5 (mingw special)<br>Copyright (C) 2004 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<br><br>My machine has 1 gig of memory and is running Windows XP professional.<br><br><br><br><br>