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

    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

    Re: Compile OpenMax with GCC


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

    The OpenMax library is compile by, 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 :
    [b]uses VFP register arguments[/b], ds5-gcc-test does not

    Any idea?

Similar Threads

  1. How to compile OpenCL example in GCC?
    By nalox in forum OpenCL - parallel programming of heterogeneous systems
    Replies: 0
    Last Post: 05-20-2009, 08:55 AM
  2. Compile OpenMax with GCC
    By Arnaud Frigout in forum OpenMAX IL - Discussion and questions about OpenMAX IL interface
    Replies: 0
    Last Post: 12-31-1969, 04:00 PM

Posting Permissions

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