Re: 6.2.0 build failure on x86_64 Skylake PC - FIX
Il 2020-06-08 21:52 Marc Glisse ha scritto: [handle *-*-msys exactly the same as *-*-mingw* in configure.ac] configfsf.guess does mention a triple *-pc-msys, so I guess it makes sense to handle it (or replace it with something we already handle). I don't really know in what ways it differs from mingw, probably not that much as far as GMP is concerned. To build and test a static library, this seems enough. A test with ./configure --enable-cxx&& check& check-mini-gmp worked smoothly. I notice in a generated file: aclocal.m4: *-*-mingw* ) # actually msys Should automake also be taught about the msys triple? You are right. If I understand it correctly, automake does not know how to build shared libraries under *-pc-msys. So that ./configure --enable-shared --disable-static outputs checking if libtool supports shared libraries... no checking whether to build shared libraries... no and then make check fails. But msys and mingw are somehow different wrt shared libraries... ./configure --build=$(./config.guess|sed 's/-msys/-mingw64/') --enable-shared builds a library that passes "make check-mini-gmp" but the Makefiles are not able to build the tests for "make check"... It would be nice to know if there are other libraries using the autotools that build a shared dll under msys... Ĝis, m ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: 6.2.0 build failure on x86_64 Skylake PC - FIX
Ciao Ralph, Il 2020-05-30 21:12 tsurzin ha scritto: The PC is running Msys2 under Windows 10 and without change GMP failed to build. Can you test if the latest available snapshot is working in your environment? You can download it at: https://gmplib.org/download/snapshot/gmp-6.2/gmp-6.2.0-20201101220635.tar.zst With very limited understanding of the Gnu-tools I was unable to make a shared (.dll) version although Msys2 provides a generic one. I'm not sure it will work (I don't have Windows, and it seems hard to make Msys2 work under wine), but you can try what happen with: configure --enable-shared --disable-static Ĝis, m ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs
Re: 6.2.0 build failure on x86_64 Skylake PC - FIX
On Sat, 30 May 2020, tsurzin wrote: This change worked to build test and run a version of GMP-6.2.0 for my PC. [handle *-*-msys exactly the same as *-*-mingw* in configure.ac] The PC is running Msys2 under Windows 10 and without change GMP failed to build. configfsf.guess does mention a triple *-pc-msys, so I guess it makes sense to handle it (or replace it with something we already handle). I don't really know in what ways it differs from mingw, probably not that much as far as GMP is concerned. I notice in a generated file: aclocal.m4: *-*-mingw* ) # actually msys Should automake also be taught about the msys triple? -- Marc Glisse ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs