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.

CCS/TMS320F280049: Linker time

Part Number: TMS320F280049

Tool/software: Code Composer Studio

Hello,
can I stamp the linking time like the compile options __time__ and __date__?

Regards, Holger

  • If you want to somehow use a time stamp while linking, consider using the macro __TIME__.  To see the related documentation, please search the C28x assembly tools manual for the sub-chapter titled Linker Command File Preprocessing.  

    If you want to see when a link was performed, consider using one of these methods.  Use the object file display utility ...

    % ofd2000 file.out | findstr Time
        Time Stamp:                Mon Jun  3 10:31:42 2019

    The time stamp can also be found in the map file ...

    % findstr Linked file.map
    >> Linked Mon Jun  3 10:31:42 2019

    Thanks and regards,

    -George

  • Hello George,

    customer is looking for a function which writes the time/date into the file.out code which the application can use.

    Regards, Holger

  • It sound like you want to somehow tell the linker what time stamp to use instead of using the current time.  Unfortunately, there is no linker feature which supplies this capability.  Further, there is no utility which can change the time stamp in an existing file.out.

    Thanks and regards,

    -George