This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
AW: GCC 3.x blessed for eCos usage?
- From: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- To: 'Scott Dattalo' <scott at dattalo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 11 Jun 2002 10:59:38 +0200
- Subject: AW: [ECOS] GCC 3.x blessed for eCos usage?
> >
> > Has version 3.[01] of GCC been oficially blessed for use with
> > eCos? Last time I remember seeing it mentioned, there were
> > still quirks on some platforms and 2.95.x was still the
> > recommended version.
>
> As I'm rather new to this tool chain, I can offer only one
> data point: gcc
> 3.1 fails to build redboot. gcc 2.95.2 with the eCos patch will build
> redboot.
I am using gcc-3.0.4, target arm-ecos-elf. This works
quite well. gcc-3.1 does not compile all those functions
that use weak aliases, such as memcpy(). I also encountered
problems building binutils with my native gcc-3.1, it miscompiles
ld.
Using gcc-3.0.4 requires one additional step when creating
an ecos configuration. You have to edit the generated target.ld
and remove the reference to libsupc++.a. This is a library of
small C++ support functions that gcc uses. I guess it would be
relatively easy to make an ecos package providing this library,
which would eliminate the need for this additional step.
tk
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss