Other Parts Discussed in Thread: C2000WARE
Tool/software:
Problem Description:
Why is there a difference in the contents of the .map files generated from the same CCS V12.6 when compiled in Linux versus Windows environments?
The differences are mainly in the length and order of the const segment. See the figure below.
The left side is map under linux, the right side is map under windows



Background Information:
For ease of debugging, our project is developed and debugged using CCS V12.6 in a Windows environment. The corresponding .c & .h files and project files (.ccsproject, .cproject, .project) are uploaded to the server's Git repository. The software testing department uniformly compiles and links these files using CCS V12.6 installed on a Linux server, then releases the .out and .hex files.


