building gmp for ios on Mac
gildas A
gildas2526 at gmail.com
Tue Mar 24 11:38:31 UTC 2020
<gmp-discuss at gmplib.org>Hello
i am trying to build gmp for ios13 but got some errors
May anyone guide me please ?
thank you for help
i tried this
./configure CC="$ios/usr/bin/clang" CPP="$ios/usr/bin/clang -E"
CPPFLAGS="-target arm64-apple-darwin -isysroot
$ios/Developer/SDKs/iPhoneOS13.2.sdk/ -miphoneos-version-min=10 --host
aarch64-apple-darwin "
and tried this
./configure CC=$ios/usr/bin/clang CFLAGS=-isysroot
$ios/Developer/SDKs/iPhoneOS13.2.sdk/ -Wno-error
-Wno-implicit-function-declaration -miphoneos-version-min=10 -arch
aarch64-apple-ios --host=aarch64-apple-darwin --disable-assembly
--enable-static --disable-shared
and i get the following errors
clang: error: unsupported option '--host=aarch64-apple-darwin'
clang: error: invalid arch name '-arch aarch64-apple-ios'
More information about the gmp-discuss
mailing list