Results 1 to 3 of 3

Thread: Compile OpenMax with GCC

  1. #1

    Compile OpenMax with GCC

    Hello all,

    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?

    I'm using the CodeSourcery's toolchain (arm-2009q3-67-arm-none-linux-gnueabi : http://www.codesourcery.com/sgpp/lite/a ... elease1039) and I can't use the ARM's compiler for my project.
    Please can you help me?

  2. #2
    Junior Member
    Join Date
    May 2010
    Posts
    3

    Re: 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

  3. #3
    Junior Member
    Join Date
    Nov 2011
    Posts
    1

    Re: Compile OpenMax with GCC

    Hi,

    I tried to use ARM's OpenMAX DL implementation in a GCC project.

    The OpenMax library is compile by build_sp.pl, using armcc from DS-5 with the following change

    Code :
    $CC_OPTS  = '--no_unaligned_access --dwarf2 --debug --asm --interleave --gnu --signed_bitfields
    --no_hide_all --library_interface=aeabi_glibc --cpu=Cortex-A8 --fpu=SoftVFP+VFPv3 -Otime --vectorize
    --enum_is_int --wchar32 --remarks --asm -O3 -c';

    Then resultant static lib is linked to a simple program using DS-5's GCC. I got a lot of this error

    Code :
    /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

    Any idea?
    Thanks

Similar Threads

  1. How to compile OpenCL example in GCC?
    By nalox in forum OpenCL
    Replies: 0
    Last Post: 05-20-2009, 08:55 AM
  2. Compile OpenMax with GCC
    By Arnaud Frigout in forum OpenMAX
    Replies: 0
    Last Post: 01-01-1970, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •