Application Size


#1

Hi,

I want to know the size of my application without any library like adl lib or wip lib. I want to learn the size of only my code.

I use the following environment:
Visual Studio 6.0 Gcc complier
Wavecom Fastract Supreme R7.1b firmware
Wip Plug-in 4.0

I use the adl library and wip plug-in only. Other side of the project is the code i developed.
I see the MyProjectName.bin file on my out folder. Its size is 189 KB. I think it is the files i developed + wip library files + adl library files. So how can i get just size of the files i developed?


#2

As usual, look into linker .map file.


#3

Hi Victorjd,

i could not find any .map file on my project. I use Visual Studio 6.0 gcc complier. Where is the file located?


#4

https://forum.sierrawireless.com/t/application-code-size/4132/2


#5

Looks like another (of many) reason not to use GCC compiler. With ADS, .map file always located in project output directory.


#6

Hmmm… getting way off-topic now, but I think you have a point there!

I have noticed this in a few areas:

  • compilers like ADS are specifically designed for embedded targets, where things like memory usage and layout are extremely important;

  • GCC, on the other hand, is a general-purpose compiler and, so, lacks many of these features/optimisations that are of particular importance to embedded development.

As I said in the linked thread,


#7

sorry to take this topic further off track, but where can i get ADS?
if it’s too commercial to put it here you can also PM me.


#8

Keil is now the tools arm i [/i]of ARM:

keil.com/arm/


#9

Yes. Kel is OK :slight_smile: The best C51 compiler on my memory.
ADS is more old ARM product, dont know if now available on market. New line - RVDS from KEil/ARM.


#10

https://forum.sierrawireless.com/t/compiler-preference-gcc-ads-rvds/2493/1