On Wed, 14 Oct 2020, Andreas Buff wrote:
We are cross building GMP for use on ARM64 iOS devices using this command:``` export CFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH} -miphoneos-version-min=${MIN_IOS_VERSION} -std=c99" export LDFLAGS="-arch ${ARCH}" export CC="$(whereis gcc) -arch ${ARCH} -isysroot ${SDK_PATH}" PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./configure --host=${HOST} --prefix=$PREFIX make -j4 make install ``` Where: ${ARCH}="arm64" ${SDK_PATH}=path to iOS14 SDK (failed also wirth previous SDK versions MIN_IOS_VERSION="11.0" ${HOST}="arm-apple-darwin"
That triplet looks like 32 bits to me, don't you mean something like aarch64 or arm64 instead of arm there?
-- Marc Glisse _______________________________________________ gmp-bugs mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-bugs
