./configure --with-openssl
…
make
…
CC conf.o
conf.c: In function 'Conf_Test':
conf.c:391: warning: format '%ld' expects type 'long int', but argument
2 has type 'time_t'
CC conn.o
CC conn-encoding.o
…
Standard ./configure / make will produce x86_64 binaries.
Platform: Apple M1, Big Sur / macOS 11.0.1, XCode 12.2
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin20.1.0
With some IKEA KLOPPE it works, though:
$ make distclean
$ CC="/usr/bin/cc" CFLAGS="-target arm64-apple-macos11" ./configure
--host=aarch64-apple-darwin --target=aarch64-apple-darwin
--build=aarch64-apple-darwin
$ make -j8
$ file src/ngircd/ngircd
src/ngircd/ngircd: Mach-O 64-bit executable arm64
$ src/ngircd/ngircd --version
ngIRCd 26-IRCPLUS+SYSLOG+ZLIB-aarch64/apple/darwin
Copyright (c)2001-2020 Alexander Barton (<alex(a)barton.de>) and
Contributors.
Homepage: <http://ngircd.barton.de/>
Congrats, Alex, one more platform to conquer :-)
… how do I pass over these recommendations to contrib/platformtest?
Regards
Götz