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]
Other format: [Raw text]

Re: Problem while building the ecos Application with newer version gcc tool set.


Search the mailing list archives for "cannot find libsupc++.a" and you'll find 
the answer.  I think someone posted the answer again just yesterday.
It involves removing libsupc++ from the target.ld file.

-tim


On Tuesday 11 June 2002 10:23 am, jameshq wrote:
> Hi all :
>    While I am using the newer version of gcc, g++, insight, binutils.
> binutils-2.12.1.tar.bz2
> gcc-3.0.4.tar.bz2
> gc-g++-3.0.4.tar.bz2
> insight-5.2.tar.bz2
>
> I can have the tool set(ARM E7T) built and get the ecos library(default)
> successfully but when I tried to compile my application: hello.c as:
>
> arm-elf-gcc -I/e7t/e7t_install/include
> hello.c -L/e7t/e7t_install/lib -Ttarget.ld -nostdlib
>
> 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
>
> Did I miss something? Thanks for your help.
>
> regards!
> james


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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