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.

Compiler/TMS320C6678: comparing MAP and OUT files

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

I have been debugging an issue and to make it easier, I got a specific version of code out of source control and built it. The actual project (CCSv5, tools, etc) hasn't changed since that version of code. When I complete the build, I compare the MAP file to the MAP file in source code control and they are identical (except for the build date). But the new OUT file is bigger. There is no debug (-g) involved in either build. How could the OUT file be bigger if the MAP files are identical ? Thanks, Richard 

  • Richard Dobbis said:
    There is no debug (-g) involved in either build.

    That is probably incorrect.  Unless you use a fairly old compiler, debug information is enabled by default.  And that could well be the cause of the difference.

    Richard Dobbis said:
    I compare the MAP file to the MAP file in source code control

    That is a reasonable way to compare.  Is the .out file also under source control?  If so, consider comparing that with objdiff from the cg_xml package.  If there is a difference in what the target system sees after the .out file is loaded, this will find it.

    Thanks and regards,

    -George

  • George,

    There is no debug (-g) involved in either build (I verified this), so I am still at a loss as to why the OUT files differ. However, I found and fixed the original issue that I was looking for and am going to mark this 'resolved' for now. I will take your suggestion and compare OUT files when I have more time. Thanks for your quick response and for pointing out the tools.

    Richard