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: Converting GCC to compilation with C++


On Jul 15, 2004, Bernd Schmidt <bernds@redhat.com> wrote:

> I'm slightly worried by this discussion, as I recall trying to write a
> portable program in C++ and giving up because I could not find two C++
> compilers that would agree on the language.  Admittedly, that was a
> decade ago and compilers have gotten better, but to some extent it's
> still true that today's C++ code does not compile with tomorrow's
> compilers (eon from SPEC2000 for example doesn't build out of the box
> with recent g++).

This doesn't matter at all with my proposal.  If you can build a
C-only C++ compiler in what I called stage0, you use it to build
stage1.  As long as the C++ compiler we ship can compile the C++
language it uses, we're all set.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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