Keil™, An ARM® Company

Discussion Forum

Library Size under v7.x?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Andrew Kalman
Posted
28-Oct-2002 00:53
Toolset
C51
New! Library Size under v7.x?
Hi All.

I am generating Salvo libraries for a new release, and have stumbled onto a problem that I believe is v7.x-related ... I say this because our last release for 8051 was generated with v6.x ...

Using the same makefiles as before, our libraries have grown from 20-100k to around 2.5MB each (!).

When generating libraries, we use DB BR OE (and some others).

Playing around with v7.x, I find that If I omit BR, file size drops from 2.5MB down to, say, 70KB, and omitting DB drops it to 20KB. I can live with the DB effects, but enabling the browse functionality results in enormous libraries.

Is this standard / expected behavior?

Thanks,

Read-Only
Author
Andrew Kalman
Posted
28-Oct-2002 01:15
Toolset
C51
New! RE: Library Size under v7.x?
OK, I did some more research and it appears that we did not use BR when we built with v6.x ... my bad.

So, I guess my question boils down to "Is it normal for BR to affect the size of a library so much (e.g. 70KB becomes 2.5MB)?"

Thanks,
Read-Only
Author
Keil Support Intl.
Posted
28-Oct-2002 01:23
Toolset
C51
New! RE: Library Size under v7.x?
Browser Information adds many references to the OBJ files that are used to track all accesses to variables, structs, struct members, defines, ect.

Therefore this can be normal.
Read-Only
Author
Andrew Kalman
Posted
28-Oct-2002 01:30
Toolset
C51
New! RE: Library Size under v7.x?
Thank you.

Do either DB or BR cause source code to be included in the library (for debug / viewing purposes)?

Regards,
Read-Only
Author
Keil Support Intl.
Posted
29-Oct-2002 04:33
Toolset
C51
New! RE: Library Size under v7.x?
No, the source code itself is not included, just the references to it. When you do not supply source code, DEBUG or BROWSE information make typically no sense.
Read-Only
Author
Andrew Kalman
Posted
29-Oct-2002 08:18
Toolset
C51
New! RE: Library Size under v7.x?
Thanks -- that clears things up for me.

Regards,

Next Thread | Thread List | Previous Thread Start a Thread | Settings