Hi, when cross-building from MacOS, I get for both -current as of yesterday and for the netbsd-10 branch I get the errors below. How do I get NetBSD built from MacOS these days?
- Hubert netbsd-10: … checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... no configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at https://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. netbsd-current: … checking which gmp to use... system checking for gmp.h... yes checking for main in -lgmp... yes configure: error: gmp library too old Full build logs: https://www.feyrer.de/Misc/netbsd-10-xbuild-macos-20240926.txt https://www.feyrer.de/Misc/netbsd-current-xbuild-macos-20240926.txt Host environment: * MacOS Sonoma 14.6.1 (23G93) Darwin the-future-is-now.fritz.box 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64 x86_64 * XCode 16.0 (16A242d): Apple clang version 16.0.0 (clang-1600.0.26.3) Target: x86_64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin