This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Building rommable images for the AEB-1C



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]