不用添加这个'-mfpu=neon'的编译器选项了,因为这个架构下neon是默认启动的。 参考: https://lists.linaro.org/pipermail/linaro-toolchain/2016-July/005815.html https://stackoverflow.com/questions/29851128/gcc-arm64-aarch64-unrecognized-command-line-option-mfpu-neon...
unrecognized command line option '-mfpu=neon' distro/pkg/torch/lib/TH/CMakeFiles/TH.dir/build.make:65: recipe for target 'distro/pkg/torch/lib/TH/CMakeFiles/TH.dir/THGeneral.c.o' failed make[2]: *** [distro/pkg/torch/lib/TH/CMakeFiles/TH.dir/THGeneral.c.o] Error 1 make[2]:...
I use imx8mq+4.14.78+yocto bsp,and I "bitbake fsl-image-qt5-validation-imx -c populate_sdk", get the sdk。now I want to compile a ".c" file with options "-mfpu=neon -mfloat-abi=hard"。 but I get follow error: aarch64-poky-linux-gcc --sysroot=/opt/fsl-imx-wayland...
gcc-4.7.real: Error: unrecognized command line option »-mfloat-abi=softfp« gcc-4.7.real: Error: unrecognized command line option »-mfpu=neon« gcc-4.7.real: Error: unrecognized command line option »-mthumb-interwork« gcc-4.7.real: Error: unrecognized command line option »-...
>> g++: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’ >> GNUmakefile:753: recipe for target 'cryptlib.o' failed > > -mfpu=neon-fp-armv8 is an arm (32-bit) compiler option. The aarch64 > (64-bit) compiler will not accept it. ...
-mfpu=neon-fp-armv8 option with the arm compiler, that tells it to emit Neon and FP code using the armv8 architecture. > So it looks like the course of action is to simply remove it from >http://github.com/weidai11/cryptopp/blob/master/cryptest.sh#L874. (It ...
> g++: error: unrecognized command line option ‘-mfpu=neon-fp-armv8’ > GNUmakefile:753: recipe for target 'cryptlib.o' failed -mfpu=neon-fp-armv8 is an arm (32-bit) compiler option. The aarch64 (64-bit) compiler will not accept it. ...
>> These are two different compilers, with two different sets of command >> line options. > > Er, no. ARMv8 (pedantically ARMv8-A, since there are also ARMv8-R and > ARMv8-M specifications as well) is an architecture, not an ISA. ...