iOS 用の MPFR、armv7s アーキテクチャの構築に問題があります。GMP のビルドに成功した後、このコマンドを使用しています。
./configure CC=clang CPP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/ -miphoneos-version-min=8.0 -arch armv7s -target arm-apple-darwin" --host=aarch64-apple-darwin --disable-assembly --enable-static --disable-shared
ただし、構成するとエラーが発生します
libgmp が見つからないか、別の ABI を使用しています。
上記と同じ構成設定でGMPをビルドし、make、make installなどを行いました。この後、gmp.hファイルとlibgmp.laファイルをコピーしました
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/
と
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib
それぞれですが、同じエラーが発生します。
何か案は?