I checked that MPIR 1.1.2 builds fine with the --enable-gmpcompat option on MSYS 32. It also passes make check.
I will email the libraries to you if building it as per the above still fails make check on your machine. It would be great for our benefit if you could check that for us though. It is also better if you are able to build from source, as each time we release another version of MPIR you will want the latest version. Distributing binaries is probably possible, but it is difficult to have options which would be optimal for all machines. Building from source ensures you get the fastest possible library. Bill. 2009/5/26 Bill Hart <[email protected]>: > So are you saying that all the tests passed when you built it with > --enable-assert? > > If so, then it looks like the library builds just fine. What exactly > did you type to build MPIR the first time? > > Here is what you need to type: > > ./configure > make clean > make > make check > > Then in the directory .libs you will have the required library files > and in the top level directory you will have mpir.h. > > If you want to have gmp libraries and gmp.h you can just rename the > libraries and rename mpir.h to gmp.h. Alternatively if you do not wish > to do the rename you can probably do: > > ./configure --enable-gmpcompat > make clean > make > make check > > however I have never tried this on MSYS. I will try it now to make > sure it works. > > Bill. > > 2009/5/26 Peter_APIIT <[email protected]>: >> >> >> >> On 23 May, 18:19, Bill Hart <[email protected]> wrote: >>> Thanks Peter, that's useful information. Also can you tell us if any >>> other information is printed when the tests fail, or does it just say >>> FAIL and not print anything? >>> >>> Something else which may help is to rebuild with asserts enabled: >>> >>> ./configure --enable-assert >>> make clean >>> make >>> make check >>> >>> That may print information which is not printed by default. >>> >>> Thanks. >>> >>> Bill. >>> >>> 2009/5/23 Peter_APIIT <[email protected]>: >>> >>> > On 23 May, 13:31, Bill Hart wrote: > I just tried building MPIR with the >>> > latest MSYS on my K8 and no > problems. So something strange is going on >>> > I think. > > Admittedly I have Vista and not XP. > > Also, I note that >>> > all 9 of the first 9 tests fail on Peter's machine. > Thus I think it is >>> > likely not just a failing test as such, but > something MSYS or XP >>> > specific. > > Peter can you let us know whether you have Windows Vista or >>> > Windows > Vista Professional x64 Edition? > I have MS Window XP > Another >>> > thing to do would be to post the file config.log from the top > level >>> > directory of the source tree so we can see what it says. It > might help >>> > us track down your problem. Here is the config.log file. This file >>> > contains any messages produced by compilers while running configure, to >>> > aid debugging if configure makes a mistake. It was created by MPIR >>> > configure 1.1, which was generated by GNU Autoconf 2.61. Invocation >>> > command line was $ ./configure ## --------- ## ## Platform. ## ## >>> > --------- ## hostname = home-c5cca7a162 uname -m = i686 uname -r = >>> > 1.0.10(0.46/3/2) uname -s = MINGW32_NT-5.1 uname -v = 2004-03-15 07:17 >>> > /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown >>> > /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown >>> > /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = >>> > unknown /bin/universe = unknown PATH: . PATH: /usr/local/bin PATH: >>> > /mingw/bin PATH: /bin PATH: /c/ruby/bin PATH: /c/WINDOWS/system32 PATH: >>> > /c/WINDOWS PATH: /c/WINDOWS/System32/Wbem PATH: >>> > /c/WINDOWS/system32/gs/gs7.05/bin PATH: /c/Program Files/Common >>> > Files/Thunder Network/KanKan/Codecs PATH: /c/Program Files/Microsoft SQL >>> > Server/90/Tools/binn/ PATH: /c/Program Files/doxygen/bin PATH: /c/Program >>> > Files/Common Files/DivX Shared/ PATH: /c/Program Files/MySQL/MySQL Server >>> > 5.1/bin PATH: . PATH: /c/Program Files/Microsoft Visual >>> > Studio/Common/Tools/WinNT PATH: /c/Program Files/Microsoft Visual >>> > Studio/Common/MSDev98/Bin PATH: /c/Program Files/Microsoft Visual >>> > Studio/Common/Tools PATH: /c/Program Files/Microsoft Visual >>> > Studio/VC98/bin ## ----------- ## ## Core tests. ## ## ----------- ## >>> > configure:2148: checking build system type configure:2166: result: >>> > k8-pc-mingw32 configure:2188: checking host system type configure:2203: >>> > result: k8-pc-mingw32 configure:2240: checking for a BSD-compatible >>> > install configure:2296: result: /bin/install -c configure:2307: checking >>> > whether build environment is sane configure:2350: result: yes >>> > configure:2415: checking for gawk configure:2431: found /bin/gawk >>> > configure:2442: result: gawk configure:2453: checking whether make sets >>> > $(MAKE) configure:2474: result: yes configure:2660: checking whether to >>> > enable maintainer-specific portions of Makefiles configure:2669: result: >>> > no User: ABI= CC= CFLAGS=(unset) CPPFLAGS=(unset) MPN_PATH= GMP: >>> > abilist=64 32 cclist=gcc icc cc configure:4439: gcc 2>&1 | grep xlc >>> > >/dev/null configure:4442: $? = 1 configure:4496: checking compiler gcc >>> > -O2 -m64 Test compile: configure:4510: gcc -O2 -m64 conftest.c >&5 >>> > conftest.c:1: sorry, unimplemented: 64-bit mode not compiled in >>> > configure:4513: $? = 1 failed program was: int main () { return 0; } >>> > configure:5519: result: no configure:4417: cc -c conftest.c >&5 >>> > ./configure: cc: command not found configure:4420: $? = 127 >>> > configure:4439: cc 2>&1 | grep xlc >/dev/null configure:4442: $? = 1 >>> > configure:4496: checking compiler cc -O Test compile: configure:4510: cc >>> > -O conftest.c >&5 ./configure: cc: command not found configure:4513: $? = >>> > 127 failed program was: int main () { return 0; } configure:5519: result: >>> > no configure:4439: gcc 2>&1 | grep xlc >/dev/null configure:4442: $? = 1 >>> > configure:4496: checking compiler gcc -m32 -O2 -fomit-frame-pointer Test >>> > compile: configure:4510: gcc -m32 -O2 -fomit-frame-pointer conftest.c >&5 >>> > configure:4513: $? = 0 configure:4518: ./a.out || ./b.out || ./a.exe || >>> > ./a_out.exe || ./ conftest ./configure: ./a.out: No such file or >>> > directory ./configure: ./b.out: No such file or directory configure:4521: >>> > $? = 0 Test compile: function pointer return configure:4564: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:4567: $? = 0 >>> > configure:4572: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:4575: $? = 0 Test compile: >>> > cmov instruction configure:4620: gcc -m32 -O2 -fomit-frame-pointer >>> > conftest.c >&5 configure:4623: $? = 0 configure:4628: ./a.out || ./b.out >>> > || ./a.exe || ./a_out.exe || ./ conftest ./configure: ./a.out: No such >>> > file or directory ./configure: ./b.out: No such file or directory >>> > configure:4631: $? = 0 Test compile: double -> ulong conversion >>> > configure:4677: gcc -m32 -O2 -fomit-frame-pointer conftest.c >&5 >>> > configure:4680: $? = 0 configure:4685: ./a.out || ./b.out || ./a.exe || >>> > ./a_out.exe || ./ conftest ./configure: ./a.out: No such file or >>> > directory ./configure: ./b.out: No such file or directory configure:4688: >>> > $? = 0 Test compile: double negation configure:4732: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:4735: $? = 0 >>> > configure:4740: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:4743: $? = 0 Test compile: >>> > double -> float conversion configure:4788: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:4791: $? = 0 >>> > configure:4796: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:4799: $? = 0 Test compile: >>> > gnupro alpha ev6 char spilling configure:4872: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:4875: $? = 0 >>> > configure:4880: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:4883: $? = 0 Test compile: >>> > __builtin_alloca availability configure:4923: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 >>> > /mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference >>> > to `winm...@16' collect2: ld returned 1 exit status configure:4926: $? = >>> > 1 failed program was: int k; int foo () { __builtin_alloca (k); } Test >>> > compile: abs int -> double conversion configure:5047: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:5050: $? = 0 >>> > configure:5055: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:5058: $? = 0 Test compile: >>> > long long reliability test 1 configure:5111: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:5114: $? = 0 >>> > configure:5119: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:5122: $? = 0 Test compile: >>> > long long reliability test 2 configure:5171: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:5174: $? = 0 >>> > configure:5179: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:5182: $? = 0 Test compile: >>> > mpn_lshift_com optimization configure:5262: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:5265: $? = 0 >>> > configure:5270: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:5273: $? = 0 Test compile: >>> > mpn_lshift_com optimization 2 configure:5362: gcc -m32 -O2 >>> > -fomit-frame-pointer conftest.c >&5 configure:5365: $? = 0 >>> > configure:5370: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:5373: $? = 0 Testing gcc GOT >>> > with eax emitted configure:5421: gcc -m32 -O2 -fomit-frame-pointer -fPIC >>> > -S conftest.c >&5 2>&1 conftest.c:1: warning: -fPIC ignored for target >>> > (all code is position independent) configure:5424: $? = 0 Result: no >>> > configure:5519: result: yes configure: testlist sizeof-long-4 >>> > configure:5694: checking compiler gcc -m32 -O2 -fomit-frame-pointer has >>> > sizeof(long)==4 configure:5707: gcc -m32 -O2 -fomit-frame-pointer -c >>> > conftest.c >&5 configure:5710: $? = 0 configure:5715: result: yes >>> > configure:5988: checking compiler gcc -m32 -O2 -fomit-frame-pointer - >>> > mtune=k8 Test compile: configure:6002: gcc -m32 -O2 -fomit-frame-pointer >>> > -mtune=k8 conftest.c >&5 configure:6005: $? = 0 configure:6010: ./a.out >>> > || ./b.out || ./a.exe || ./a_out.exe || ./ conftest ./configure: ./a.out: >>> > No such file or directory ./configure: ./b.out: No such file or directory >>> > configure:6013: $? = 0 Test compile: function pointer return >>> > configure:6056: gcc -m32 -O2 -fomit-frame-pointer -mtune=k8 conftest.c >>> > >&5 configure:6059: $? = 0 configure:6064: ./a.out || ./b.out || ./a.exe >>> > || ./a_out.exe || ./ conftest ./configure: ./a.out: No such file or >>> > directory ./configure: ./b.out: No such file or directory configure:6067: >>> > $? = 0 Test compile: cmov instruction configure:6112: gcc -m32 -O2 >>> > -fomit-frame-pointer -mtune=k8 conftest.c >&5 configure:6115: $? = 0 >>> > configure:6120: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./ >>> > conftest ./configure: ./a.out: No such file or directory ./configure: >>> > ./b.out: No such file or directory configure:6123: $? = 0 Test compile: >>> > double -> ulong conversion configure:6169: gcc -m32 -O2 >>> > -fomit-frame-pointer -mtune=k8 conftest.c >&5 configure:6172: $? = 0 >>> >>> ... >>> >>> read more ยป >> >> >> >> Pass: t-printf.exe >> Pass: t-scanf.exe >> Pass: t-locale.exe >> >> All 3 tests passed >> >> No error message found >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---
