The chip used is I.M.X8 QM.The operating system is Linux。The cross-compilation tool chain is aarch64-tdx-linux-g++ 。I tried to use accelerated compilation, but got an error。The added parameter is -mfloat-abi= hard-mfpu = vFPv3-mfpu =neon。
Does I.X8QM not support these parameters?
Hello Song,
Apparently, you need to export some flags on your makefile:
export CFLAGS="-mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits"
You can find more information on the below web page:
https://gist.github.com/fm4dd/c663217935dc17f0fc73c9c81b0aa845
Regards
Sorry, error again。
Environment variable added export CXXFLAGS=" -mcPU = Cortex-a53-mfloat -abi= hard-MFPU = NEON - FP-ARMV8-mneon -for-64bits"
But when I make, still report an error。
aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mfloat-abi=hard’
aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’
aarch64-tdx-linux-gcc: error: unrecognized command line option ‘-mneon-for-64bits’