codewarrior project size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

codewarrior project size

1,812 Views
svtambare
Contributor I
Hi all,
I am using codewarrior from last four months only, so i want to know when we include other project libraries like os_libraries or other application library in main program... then what will be the exact size of the program?? will it inlcude size of included libraries also or it just takes some required modules and then compile??

Also linker control file (lcf) used in inlcuded libraries may differ from main project library so in that case how it will link the codes and data???

Thanks and regards,
Sushant
Labels (1)
0 Kudos
2 Replies

239 Views
J2MEJediMaster
Specialist I
This is a good place as any to remind you gentle developers that when you post  questions, please provide the CodeWarrior type and version number, along with the MCU you're targeting in the post's subject header! It helps people with the proper expertise identify your post, so that they can help you.

The best place to determine the precise size of the program's code and data size is in the linker map. CodeWarrior linkers usually can do dead-stripping (that is, remove unused library code) of the libraries when they link the code, and thus reduce the size of the final program. The best place to see if the linker has this feature is in the Targeting manual, an Acrobat document that came with the CodeWarrior installation.

---Tom
0 Kudos

239 Views
svtambare
Contributor I
Thanks it helps a lot for me to manage the memory sections by looking at the link map file....

I am using Codewarrior 5.7.0 version
0 Kudos