This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM7 Redboot compilation
- From: Gary Thomas <gthomas at redhat dot com>
- To: rtm at banyan dot tenet dot res dot in
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 16 Nov 2001 16:03:08 +0900
- Subject: Re: [ECOS] ARM7 Redboot compilation
- References: <Pine.LNX.4.10.10111161215210.6258-100000@banyannetworks.com>
On Fri, 2001-11-16 at 15:48, rtm@banyanNetworks.com wrote:
>
> I was targeting Redboot for SNDS-100 Board. When I am trying to compile
> the redboot, I got a linker error with libsupc++ not found. I have
> installed GCC-3.0.2 and followed the exact steps as given in the
> configuration and building sections
> (http://sources.redhat.com/ecos/tools/linux-thumb-elf.html).
>
> $ configure --target=arm-elf --prefix=/tools \
> --exec-prefix=/tools/H-i686-pc-linux-gnu \
> --with-gnu-as --with-gnu-ld --with-newlib -v
>
> $ make -w all-gcc install-gcc LANGUAGES="c c++"
>
> Can any one help me in what went wrong, why the libsupc++ not installed.
> I experimented with removing the libsupc++, and got redboot.bin, but the
> software went haywire in cyg_hal_invoke_constructors().
>
Is there some reason you want to use GCC-3.0? We don't support it yet
(because of these problems). GCC-2.96 works just fine.