Hi,
I'm using Code Sorcery tool chain to build my C project ONLY for ARM Cortex-A8 processor on C6A816x EVM.
While building my project using the CS tool chain, for GCC option -mfloat-abi, I currently use softfp, but the GCC compiler manual says this for softfp option:
"`softfp' allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions."
In contrast it says that I could use hard as an option, for which the manual says:
"`hard' allows generation of floating-point instructions and uses FPU-specific calling conventions."
Apparently I would like to use hard as the option to build my project because it would then 'completely' make use of the FPU and its calling conventions. However when I do that, the project building won't succeed; the compilation succeeds but the linking fails with the following message:
/home/ti/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: error: DSP.o uses VFP register arguments, ExampleProject does not
Can somebody throw some light on how I may make use of hard as an option for -mfloat-abi? Is there any other third party tool chain which I may make use of for this purpose?
Thank you!