Cross-compile for the iOS platform: Failed to configure the GMP library
I would like to try ECL on both iOS and Android. When I follow the instructions in the INSTALL
file, I get the following.
Reproduction steps:
brew install gmp
./configure --prefix=`pwd`/ecl-iOS-host --disable-c99complex
Expected:
A configured ECL source tree, ready for compilation.
Actual:
$ ./configure --prefix=`pwd`/ecl-iOS-host --disable-c99complex
Switching to directory `build' to continue configuration.
checking build system type... arm-apple-darwin22.1.0
checking host system type... arm-apple-darwin22.1.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
[...]
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: ABI=long is not among the following valid choices: standard
configure: error: Failed to configure the GMP library.
Configuration:
macOS (13.0.1), Xcode (14.2)
Edited by Rudolf Adamkovič