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
Show replies by date
the executable works ("runs") as
expected --+
tests run successfully ("make check")
--+ |
ngIRCd compiles ("make")
--+ | |
./configure works --+
| | |
|
| | |
Platform Compiler ngIRCd Date Tester C
M T R *
--------------------------- ------------ ---------- -------- -------- -
- - - -
aarch64/apple/darwin A-clang 12.0.0 26 20-12-10 goetz
N Y Y Y 3