This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Linking an application
- To: "'ecos-discuss at sourceware dot cygnus dot com'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Linking an application
- From: Usha Sree I <ushasree at danlawinc dot com>
- Date: Mon, 5 Mar 2001 15:52:04 +0530
> Sir,
> I am trying to compile and link an eCos application named hello.c. I had
> installed for Linux Synthetic Target. It has been compiled properly.
> But my link command fails with the following message.
> l# gcc -g -I/home/username/linuxbuild/include hello.c
> -L/home/username/linuxbuild/lib -Ttarget.ls -nostdlib
>
> /tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld:target.ld:161:parse
> error
> collect2: ld returned 1 exit status
> Please justify.
>
>
>
>