Cross-compiling gpg4win: can not find the runtime library libgcc_s_sjlj-1.dll
Niibe Yutaka
gniibe at fsij.org
Thu Sep 17 11:57:10 CEST 2020
Hello,
Ave Milia via Gnupg-devel wrote:
> Perhaps something changed between gcc 8 and gcc 10? Or it's in a
> different form (sjlj is part of e.g. dw2)?
I have a look at:
https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=mingw-w64-gcc-base
It has this change:
==========================
- --enable-lto --disable-dw2-exceptions \
+ --enable-lto \
--disable-nls --enable-version-specific-runtime-libs \
- --disable-multilib --enable-checking=release
+ --disable-multilib --enable-checking=release \
+ --disable-sjlj-exceptions --with-dwarf2
==========================
IIUC, I think --disable-sjlj-exceptions matters.
--
More information about the Gnupg-devel
mailing list