Program size exploded; errors prevent map file generation

Discussion created by GARY OLMSTEAD on Jun 9, 2009
Latest reply on Jun 24, 2009 by Giacomo Petrini

Hi --


Last week, I had a nice program of about 7KB or thereabouts.  I added a serial port (via PE), and some code to go with it, and fixed some other stuff.  Today, the program had exploded to over 88K!!  It still compiles, but I get "segment overflow" errors from the linker. 


I'm assuming that something added a library, or something.  But since the linker won't make a map until it links, there isn't any obvious way to debug it.  Is there some way to force the linker to make a map, even for a corrupted file?  If not, is there some other way to figure what the memory is being allocated to?  Unfortunately, I  can't go back to Friday's code.


Gary Olmstead

Toucan Technology

Ventura CA