This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Support for C++ on the power pc
- To: avoinov at raima dot com, egcs at cygnus dot com
- Subject: Re: Support for C++ on the power pc
- From: mrs at wrs dot com (Mike Stump)
- Date: Thu, 29 Apr 1999 18:58:23 -0700
> Date: Thu, 29 Apr 1999 14:44:17 +0000
> Newsgroups: comp.os.vxworks
> From: Alexander Voinov <avoinov@raima.com>
> Mike Johnston wrote:
> > From other postings, I've seen, it seems the GNU C++ compiler bundled
> > into wind rivers development package is old and, for one thing, does not
> > support exceptions.
:-) Try Tornado 2.0. It is newer and supports exceptions. It is an
egcs 1.0.3 era C++ compiler.
> I have built egcs-1.1.2 as a crosscompiler for i386-wrs-vxworks, but I need
> to specify -fno-exceptions while recompiling my C++ code to be able to load
> it into the kernel. I mean the kernel built with WRS compiler.
The intent is to allow a user to compile up egcs and it should just
work, including exceptions. It will take a little bit of work, as not
all the pieces were in 1.1.2, but the patch set I mailed out today
should have most of the bits in it (but not all of them).
> I'd be very glad to learn whether it is possible to recompile the kernel
> with the new compiler I built to enable exceptions.
Depends on how skillful you are or how much you want it to work. I
was hoping that most all the bits were in my patch set.
> And how harmful would it be to mix the kernel built with gcc 2.7.2 from WRS
> and the applications built with egcs?
They should mix well. If they don't, that's a bug.