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: <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] eCos broken for Evaluator-7T
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- Date: Wed, 10 Oct 2001 22:28:58 +0100
- Organization: Sweeney Design
- References: <004f01c151c3$cd6fe6e0$7100a8c0@jasper> <20011010133859.A1184@shasta.abaqos.com>
- Reply-To: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
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!