I had similar problems with MinGW. You can't just use ./configure. Run ./configure --prefix=${gmp_build} --build=<output of config.guess> --enable-cxx --with-gnu-ld
The cxx option builds the C++ libraries and --with-gnu-ld allows it to work with ld. I made a little cheat sheet for myself and for others looking to install on Windows. (Attached) It also goes through setting up Eclipse. I wrote it for GMP, but the process is exactly the same for MPIR. On Monday, February 18, 2013 3:36:25 PM UTC-5, exc...@live.fr wrote: > > Hi, > > I have tried to compile MPIR 2.6.0 with MinGW64 (gcc.exe (tdm64-1) 4.7.1). > > Unfortunately, make check shows several errors: > > FAIL: t-bswap.exe > PASS: t-constants.exe > FAIL: t-count_zeros.exe > PASS: t-gmpmax.exe > PASS: t-hightomask.exe > FAIL: t-modlinv.exe > FAIL: t-parity.exe > FAIL: t-popc.exe > FAIL: t-sub.exe > ============================================================= > 6 of 9 tests failed > See tests/test-suite.log > Please report to http://groups.google.co.uk/group/mpir-devel/ > ============================================================= > > The full log file is available here: > http://excale.craym.eu/mpir/mpir_build_log_130218.log > > How should I compile this to pass the tests? > > Thanks! > > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/groups/opt_out.
Setting up MGP with eclipse.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document