??? 10/12/12 16:49 Read: times |
#188634 - your question is not clear Responding to: ???'s previous message |
Mohit Gupta said:
Dear Sir,
My question still remains the same. How do I get to know the code size of each of the c files It's not clear whether you want the 'C' source file size or the compiled linkable, or the binary file I have compiled using the keil compiler. When I check in the .M51 file, it give the size of the subroutines but I am not able to see the code size of the complete obj file. Is that before or after linking? There's extra overhead in the linkable file. Surely you don't want that. How can I get the code size of each file.
Regards, Mohit Gupta Perhaps you need to compile each of the files separately and then subtract the binary that's common to all of them. I'm not a big 'C' user, so I really don't know for certain, but I've done this sort of thing in ASM. RE |
Topic | Author | Date |
How to Determine code size of a c and obj file | 01/01/70 00:00 | |
which toolchain? | 01/01/70 00:00 | |
Your tools will tell you... | 01/01/70 00:00 | |
Since May 2006 | 01/01/70 00:00 | |
are you aware .... | 01/01/70 00:00 | |
Why do so many ask without giving the relevant facts? | 01/01/70 00:00 | |
unable to get the code size of each individual C file | 01/01/70 00:00 | |
Using the Keil C51 compiler | 01/01/70 00:00 | |
memory usage is displayed by the tool | 01/01/70 00:00 | |
your question is not clear | 01/01/70 00:00 |