I want to use le library OpenMax to do a FFT using Q1.31 (type int32, function in OpenMax : omxSP_FFTFwd_CToC_SC32_Sfs) in Kernel Linux 2.6.31 on an IMX51. When I compile the library OpenMax with GCC, the compilation doesn’t work. I have try to use the library compiled by Freescale support with ARM’s compiler but this doesn’t work.
So can you help me to compile OpenMax with GCC?
Try compiling on RVDS and then link using code sourcery.In RVDS,use softvfp,as code sourcery lite edition does not sup[port hard floating point option.Openmax,directly on gcc won’t compile because it does not follow gas format,it follows armcc(RVDS)format
Then resultant static lib is linked to a simple program using DS-5’s GCC. I got a lot of this error
/usr/local/DS-5/sw/gcc/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld:
error:
/mnt/hgfs/F/home/openmax/OX002-BU-00010-r2p0-00rel0/lib/libomxSP.a(omxSP_FFTFwd_CToC_SC16_Sfs_s.o)
[b]uses VFP register arguments[/b], ds5-gcc-test does not