This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Building older eCos w/ gcc 3.2.1?
- From: Grant Edwards <grante at visi dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 4 Sep 2003 09:25:03 -0500
- Subject: Re: [ECOS] Building older eCos w/ gcc 3.2.1?
- References: <20030904091156.A11553@visi.com> <1062685102.6098.36.camel@hermes>
> > I've switched to gcc 3.2.1 w/ patches to build eCos 2.0, but
> > I'm still using 2.95.2 to build an older version of eCos (a
> > snapshot from early 2001).
> >
> > Are there any known issues with using 3.2.1 to build older
> > versions of eCos?
>
> More than you'd want to know about, I fear.
>
> IMO, I wouldn't waste any time even trying it.
I just did, and it got through quite a few files before choking
on something in kernel/current/src/sync/flag.cxx.
Looks like the changes to the C++ front end were more extensive
than those to the C front end. With C, I've seen new warnings,
but I haven't seen 3.2.1 refuse to compile a C program with
which 2.95.2 was happy.
Time to create a new part number for the 3.2.1 toolchain...
--
Grant Edwards
grante@visi.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss