[ECOS] eCos broken for Evaluator-7T
Chris Garry
cgarry@sweeneydesign.co.uk
Wed Oct 10 14:26:00 GMT 2001
Doh!
Okay, that explains why the error changed from what I was seeing earlier.
The actual error I'm seeing when I compile is:
<-start insert->
$ arm-elf-gcc -g -o hello -I/eCosBuild/default_install/include
hello.c -L/eCosBuild/default_install/lib -Ttarget.ld -nostdlib
/tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/bin/ld:
cannot find libsupc++.a
collect2: ld returned 1 exit status
<-end insert->
libsupc++.a does not exist anywhere on my system. Do I need to change the
configuration to generate it?
Chris
----- Original Message -----
From: "J. J. Farrell" <jjf@abaqos.com>
To: "Chris Garry" <cgarry@sweeneydesign.co.uk>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, October 10, 2001 9:38 PM
Subject: Re: [ECOS] eCos broken for Evaluator-7T
> 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!
More information about the Ecos-discuss
mailing list