This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Significance of "Target.ld" file in eCos application building
- From: Subodh <subodhk at bsil dot com>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 27 Dec 2001 17:20:02 +0530
- Subject: [ECOS] Significance of "Target.ld" file in eCos application building
Hi,
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 ?
Regards,
Subodh