[ECOS] Significance of "Target.ld" file in eCos application building

Subodh subodhk@bsil.com
Thu Dec 27 03:51:00 GMT 2001


     While compiling and linking an application file (say "hello.c")  on eCos 
on a pc running linux, we give the following command.

  gcc -g -IBASE_DIR/ecos-work/install/include hello.c -LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib

   What does the file target.ld file contain and what is its significance ?   I just think that its used in linking but
exactly how ?



More information about the Ecos-discuss mailing list