Hello Lapo,
>> Fails two tests ('bit' and 't-aorsmul') but shuold work much better than >> previous package anyway, moreover I don't have tie to check it further >> before I have my long dued holydays, so it would be a long time to have >> a "perfect" package. >> Ready at this address: >> http://www.lapo.it/cygwin/gmp-4.1.3-2-src.tar.bz2 >> http://www.lapo.it/cygwin/gmp-4.1.3-2.tar.bz2 >> (version 2 because Gerrit's verison on his website is version 1, in case >> anyone installed that one directly) > Ok, a short review: > Though --enable-cxx is specified in the buildscript, the C++ library > is not included in the binary tarball, this is dubious, I'll try to > figure out what the difference between your and my package is. During installation the GMP-C++ lib is relinked by libtool which says now that there is no real file for libgmp.la which is stupid since we just compiled and linked it, however libtool refuses to build a shared library, even though we use the latest libtool-devel. Well, it seems passing the change below to libtool fixes this. diff -urN -x .build -x .inst -x .sinst -x COPYING -x INSTALL gmp-4.1.3/aclocal.m4 gmp-4.1.3-gerrit/aclocal.m4 --- gmp-4.1.3/aclocal.m4 2004-07-18 13:43:20.000000000 +0200 +++ gmp-4.1.3-gerrit/aclocal.m4 2004-05-25 13:56:10.000000000 +0200 @@ -2109,7 +2109,7 @@ cygwin*) # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_deplibs_check_method='pass_all' lt_cv_file_magic_cmd='func_win32_libid' ;; diff -urN -x .build -x .inst -x .sinst -x COPYING -x INSTALL gmp-4.1.3/configure gmp-4.1.3-gerrit/configure --- gmp-4.1.3/configure 2004-07-18 13:43:35.000000000 +0200 +++ gmp-4.1.3-gerrit/configure 2004-05-25 13:48:29.000000000 +0200 @@ -7179,7 +7183,7 @@ cygwin*) # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_deplibs_check_method='pass_all' lt_cv_file_magic_cmd='func_win32_libid' ;; With this applied, the C++ lib gets correct relinked and also installed. Now changing into the demo directory where I got errors when running the GMP build with a vanilla source and run `make allprogs`. The linking works. Gerrit -- =^..^=