简体   繁体   中英

RAM memory optimization at compilation

I am working on a project it is in C programing language, I'm trying to analyze the RAM memory (segment allocations ) at compilation time for library files on specific feature. That will help me out statically to optimize my data size at compilation level itself.

I am using Wind River(Diab 5.8) compiler. That can be run on Freescale microcontroller platforms. I am developing this application on Windows environment. Please help me to find this.

If you pass -m to the linker that should be sufficient to get it to print out a list of segment allocations. That way you'll be able to see how much of your code segment is taken up by a particular (statically linked) library.

好的,了解架构的不同之处:你试过这个吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM