-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello,
I try to compile PFFT for Android. I was expecting to build it for the multiple architecture that I have to support (armeabi-v7a and arm64-v8a) by adding first parameters to the configure command like this:
./configure CXX="/Users/XXX/Library/Android/sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -target aarch64-linux-android" --prefix=/Users/XXX/Downloads/pfft-master/arm64-v8a
This command will replace gcc by clang as gcc is not able to compile for the two architectures that I need. the configure command works well but when I try to execute make, it complaines that symbol(s) not found for architecture x86_64.
I looked into the generated makefile and other files and it seems that gcc is used anyway, even if I pass clang in the CC parameters of the configure command.
Any idea on how I could generate the library for the two mentioned architectures?