This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem while building the ecos Application with newer version gcc tool set.
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: jameshq <jameshq at liverpool dot ac dot uk>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 11 Jun 2002 16:29:08 +0200
- Subject: Re: [ECOS] Problem while building the ecos Application with newer version gcc tool set.
- References: <PJECKLPLDMIGMBJHOILFIEJFCAAA.jameshq@liv.ac.uk>
> I got the following error message:
>
> /tools/H-I686~1/bin/../lib/gcc-lib/arm-elf/3.0.4/../../../../arm-elf/bin/ld:
> can
> not find libsupc++.a
> collect2: ld returned 1 exit status
The library should be in your gcc install directory:
$ find . -name libsupc++.a
./arm-elf/lib/thumb/libsupc++.a
./arm-elf/lib/libsupc++.a
Is it there?
pass -v to gcc so you see exactly what ld is doing. Does it have the
paths correct?
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss