This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x 支持硬浮点吗?



如果支持硬浮点.那么linux gcc编译器怎么编译硬浮点

我使用gcc的参数-mfloat-abi=hard -mfpu=vfp...

然后出错

arm-arago-linux-gnueabi-gcc  -g -Wall -O0 -mfloat-abi=hard -mfpu=vfp -I.   float_test.c   -o float_test
/mnt/disk1/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/bin/ld: error: /tmp/ccKtZMUn.o uses VFP register arguments, float_test does not
/mnt/disk1/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.5.3/../../../../arm-arago-linux-gnueabi/bin/ld: failed to merge target specific data of file /tmp/ccKtZMUn.o
collect2: ld returned 1 exit status