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.

Object file option



Hi,

In CCS command line build, with -c option I am creating the object file and later linking all of them together.

1)How can I customize the extension of these object files from default *.obj to something else like *.o

2) Currently these are created within the folder containing the Makefile.How to place them in seperate folder like "obj".

 

regards

Soumya

  • Hello Soumya,

    I'm not sure about changing the object file extension name but I do know you can control where the generated files like *.obj will go. If you go to the project properties, look under 'Build -> <ISA> Compiler -> Directory Specifier'. There you will have options to change the various default directories. You may have to change the 'Mode' to 'manual' also.

    Thanks

    ki

  • Soumya Sardar said:
    How can I customize the extension of these object files from default *.obj to something else like *.o

    The compiler option to do this is --obj_extension (-eo). Check the compiler users guide for more info.