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.

DM365 DVSDK C compiler option question

Dear All:

 

I tried to use -O2 and remove -g in the Makefile of my DM365 H264 encoder program.

However, it will not work without -g option.

Is it possible to remove -g and add -O2 option for DM365 H264 codec to

improve some performance and reduce some space usage?

 

Best regards,

 

Ray

 

  • Hi Ray,

    Are you saying that the problem is with the H.264 encoder standalone test app which you find at  "*\packages\ti\sdo\codecs\h264enc\apps\client\build\arm926\" or in the DVSDK demo app ?

    regards

    Yashwant

  • Dear Yashwant:

     

    Yes. I need to keep -g.

    But it seems to be OK to use both -g and -o3.

    I do not know what is the difference between -O3 and -o3,

    because I do not find -o3 option in C compiler manual page.

     

    And the debug option -g seems to be necessary.

    Is it possible not to include -g option?

     

    Best rgeards,

     

    Ray