You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I add mingw-w64-x86_64-mpfr to the package list, then it fails:
configure:7735: checking for static linking with g++ -static
configure:7760: g++ -o conftest.exe -static conftest.cpp -lz -lmpfr -lgmp >&5
D:/a/_temp/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmpfr: No such file or directory
collect2.exe: error: ld returned 1 exit status
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know there is an issue #10808, but what I need is the opposite.
I am using
msys2/setup-msys2
to build statically linked binaries with GitHub Actions. Indeed, the following setupworked well for statically linked binaries.
But if I add
mingw-w64-x86_64-mpfr
to the package list, then it fails:Actually, the file list of
mingw-w64-x86_64-gmp
contains/mingw64/lib/libgmp.a
whilemingw-w64-x86_64-mpfr
does not contain/mingw64/lib/libmpfr.a
.Any good ideas?
Beta Was this translation helpful? Give feedback.
All reactions