[mpir] Port to vcpkg-make#49799
Conversation
|
Does not work for me, produces the same error. (after fixing the typo in the patch file name) I'm building using Getting the following warning It builds when I add the following to the Should the community triplet be updated accordingly? |
You can change your local (overlay) triplet as you need. It affects every autotools port which sees this setting. (You can limit the scope with To help us understand which problem you try to solve, you should share shared(or study) the logs, in particular config.log. For example, my local crossbuild reports which is exactly the autotools triplet I normally want. An x86-linux vcpkg host triplet (native) build on an x64 machine reports And |
|
Actually the answer was already there:
So you are doing a crossbuild with compilers which are not prefixed with the autotools triplet. |
The original problem I try to solve is to compile 32-bit version for mpir. causes build to fail: When I try to install current mpir version with It still fails with the same error. When I try to install fixed mpir version with Fails with the same error When I try to install fixed mpir version with Succeeds! For my understanding, why is adding |
The android triplets are for one particular toolchain, the official NDK. The same non-prefixed compiler is used with different flags, so it is not possible to guess The linux triplets are used for native builds and for cross builds.
x86 on linux is a special.
So adding |
For #49703.
Works for me for x86-linux cross builds with prefixed tools (
CC=i686-linux-gnu-gcc CXX=i686-linux-gnu-g++).Remarks:
version. [mpir] Fix download REF and HASH #23330 switched toversion-date, but the source code is still from 3.0.0. (I didn't change the REF in order to not change the asset.)cf. https://repology.org/project/mpir/versions
(There are 163 commits and > 1400 changed files since 3.0.0, but most distributions still offer 3.0.0.)