process shortening distance an executable
i'm producing conjuration record run an arm processor i wish keep next 32k. it's now lot incomparable i wondered someone competence have recommendation what's best proceed slim down?
here's i've finished far
- so i've run 'size' establish large conjuration record is.
- then 'size' again large any vigilant files couple emanate conjuration files. seems decrease distance comes outmost libraries.
- then i used 'readelf' functions take adult many memory.
- i searched by formula i discharge calls those functions.
here's where i stuck, there's functions i don't directly (e.g. _vfprintf) i can't calls i mislay (as i cruise i don't need it).
so unbroken steps?
response answers:
- as i there functions being called take adult lot memory. i can't however job it.
- i wish replace those functions (if possible) nonetheless i can't what's job them! called any array library functions i guess.
- the linker operative desired, i think, wholly includes applicable library files. know wholly applicable functions being included? set fall something that?
- i'm controlling gcc
Comments
Post a Comment