This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is ?C?LIB_CODE in the map file (.M51)

Dear Experts, In the map file of my project, I have a large segment by name ?C?LIB_CODE (size is 3KB+). What is this segment? Is there a way to optimize it? How can we know what is included (i.e. which functions etc.) in this segment?

Regards,
Ganesh Okade

Parents Reply Children
  • HI.

    u look in the \keil\c51\lib directory

    it has lots of library files.

    some r inc'd with yo're project. it is the run time librarys.

    if u want to make it less do not use two much run time funcs. like sprintf is very very bad.

    all (or most ?) have code in the ?C?LIB_CODE segment.

    Always yo're freind.

    Zeusti.