From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Nicholas_Clarey@ivesco.co.uk Cc: eCos Discussion Subject: RE: [ECOS] Building rommable images for the AEB-1C Date: Thu, 06 Jan 2000 07:15:00 -0000 Message-id: References: X-SW-Source: 2000-01/msg00019.html On 06-Jan-00 Nicholas_Clarey@ivesco.co.uk wrote: > Hi Gary, > > All I did was; > > arm-elf-gcc -Iinstall/include testfile.c -Linstall/lib -Ttarget.ld > -nostdlib > You really should use *all* of the options used by the standard eCos setup. In particular, these options tell the linker to throw away any unused code. In your test case, this amounts to more than 100K bytes! The image I build fits in ROM, even in the meager 32K defined as default.