I developed a algorithm library for coldfire, and hope build as a library (NOT application). I use codewarrior for coldfire V7.2
and select MCU as MCF52259.
I create a default project using wizard, and then remove all project files (such as main.c, mcf52259 link file etc).,then add my c source code in the project, then choose "coldfire Target" in the project setting panel. then build.
finally ,I get a "*.a" binrary file. but one trouble is this *.a file is very big!.
for example, a simple c source code file, only contain about 200 lines c code., and all source code is simple operation ,no use any external library ,such as "printf， strlen....“ functions are also never called.
BUT the final binary library file has about 1.6MB size, it is very big. I disassemble the *.a file, find many items related to EWL C library, it seems link the EWL C library into my binary library.
my question is :what is the matter? how to reduce the binary file size?
thanks for your help !