This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Adding to G++: Adding a warning on throwing unspecified exceptions.


On Sun, 21 Sep 2008, NightStrike wrote:

> On Sun, Sep 21, 2008 at 12:36 PM, Brian Dessent <brian@dessent.net> wrote:
> > Simon Hill wrote:
> >
> >> http://gcc.gnu.org/onlinedocs/gccint/index.html. (Of course I was
> >> horrified to see it's not written in C++, and it's loaded with macros
> >> --- why??).
> >
> > You seem to refer to g++ as if it's a separate program from gcc but it's
> > really not.  All of the middle- and back-end code is shared between the
> > language front-ends, so if you introduce C++ there you now require a
> > pre-existing C++ bootstrap compiler even for people that have no
> > interest or need for C++ language support and are only building a C (or
> > Fortran or Java or Ada) compiler.  A lot of people have a problem with
>
> I think java requires c++.

It does, but only to build the target libraries, not to bootstrap.  It
uses the just-built G++ to do that.

Ada is the only frontend right now where you need a pre-existing compiler
other than C to *bootstrap* it.


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