Things I had to do to make GnuPG et al compile
Werner Koch
wk at gnupg.org
Wed Nov 6 11:23:07 CET 2024
Hi!
Thanks for the detailed writeup.
On Tue, 5 Nov 2024 20:20, Gordon Steemson said:
> build system was a Power Mac G5 running Mac OS 10.5.8, and the
> compiler was Apple’s version of GCC
> 4.2.1 (mainly because it supports “universal”, i.e. multi‐platform,
That seems to be an old system but we have had always reports of
building GnuPG versions for all macOS versions without the need for code
changes (expect for minor bugs we fixed soon after the report).
I do not known whether Apple'ss gcc 4.2 is the part of XCode or if this
is an alternative toolchain. Regarding universal binaries we have this
in the README of GnuPG *1.4*:
Building Universal Binaries on Apple OS X
-----------------------------------------
You can build a universal ("fat") binary that will work on both
PPC and Intel Macs with something like:
./configure CFLAGS="-arch ppc -arch i386" --disable-endian-check \
--disable-dependency-tracking --disable-asm
If you are doing the build on a OS X 10.4 (Tiger) PPC machine you
may need to add "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" to
those CFLAGS. This additional isysroot is not necessary on Intel
Tiger boxes, or any OS X 10.5 (Leopard) or later boxes.
> support software (such as cURL,
> OpenSSH, and ld), I had to write the following patch:
GnuPG does not use OpenSSL or cURL. Which version of GnuPG are you
trying to build? Some bit rot for old macOS versions may of course
happened.
Maybe someone of the otehr macOS folks can shed some light on the
reported problems.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20241106/af1e8523/attachment.sig>
More information about the Gnupg-devel
mailing list