This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCos broken for Evaluator-7T
- To: Chris Garry <cgarry at sweeneydesign dot co dot uk>
- Subject: Re: [ECOS] eCos broken for Evaluator-7T
- From: "J. J. Farrell" <jjf at abaqos dot com>
- Date: Wed, 10 Oct 2001 13:38:59 -0700
- Cc: ecos-discuss at sources dot redhat dot com
- References: <004f01c151c3$cd6fe6e0$7100a8c0@jasper>
On Wed, Oct 10, 2001 at 08:43:13PM +0100, Chris Garry wrote:
>
> Today I downloaded the latest eCos snapshot from ftp://ftp.skynet.ie/cvs/ .
> It builds to a library okay using the config tool, but when I try and
> compile
> an application, linking with libtarget.a I get the following error:
> <-start insert->
> $ arm-elf-gcc -g -o hello -I/eCosBuild/default_install/include
> hello.c -L/eCosBuild/default_install/lib -Ttartget.ld -nostdlib
>
> /tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/bin/ld:
> cannot open linker script file tartget.ld: No such file or directory
>
> collect2: ld returned 1 exit status
> <-end insert->
>
> However listing the lib directory gives:
> <-start insert->
> $ ls /eCosBuild/default_install/lib
> ./ ../ extras.o libextras.a libtarget.a target.ld vectors.o
> <-end insert->
>
> So the linker script file has been created. Any ideas?
Yes - read the error message and ls output more carefully, then
correct the command line!