This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eCos broken for Evaluator-7T


Thanks for that.

One question though, why do I now need libsupc++.a to compile even a simple
'hello world' program?  This wasn't the case a few weeks ago.

Cheers,
Chris

----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "Chris Garry" <cgarry@sweeneydesign.co.uk>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Thursday, October 11, 2001 12:12 AM
Subject: Re: [ECOS] eCos broken for Evaluator-7T


> Chris Garry wrote:
> >
> > 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?
>
> libsupc++.a should be output by the gcc build provided you do a complete
> gcc build. The way to do this is download newlib (
> http://sources.redhat.com/newlib ) and put symlinks to the newlib and
> libgloss directories within that in your gcc source tree. Then rebuild gcc
> from scratch and do make all install rather than make all-gcc install-gcc
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]