on a Raspberry Pi 4 machine and prepared the required libraries and packages following these guides:
https://www.interelectronix.com/qt-515- ... 0-lts.html
https://github.com/abhiTronix/raspberry ... uctions.md
This is the compiler I'm using: https://snapshots.linaro.org/gnu-toolch ... gnu.tar.xz
from this page: https://snapshots.linaro.org/gnu-toolch ... linux-gnu/
When I run ./configure... after some processing the compiler throws an error:
Meanwhile, Linaro or official ARM compilers do not support VFP, FPU, etc. so I had to change the qmake.conf to try to remove that command-line option from the compiler flags.aarch64-linux-gnu-g++: error: unrecognized command-line option -mfloat-abi=softfp
I've tried every solution listed on: Qmake: how to remove compiler flag for a certain project, without changing qmake.conf?
Code: Select all
QMAKE_CFLAGS -= -mfloat-abi=softfp QMAKE_CFLAGS_RELEASE -= -mfloat-abi=softfp QMAKE_CXXFLAGS -= -mfloat-abi=softfp QMAKE_CXXFLAGS_RELEASE -= -mfloat-abi=softfp
But still had no luck! That command-line magically appears again!
Have you had any luck compiling for aarch64?
How can I resolve this issue?