This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
- From: Tim Josling <tej at melbpc dot org dot au>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 06 Mar 2003 20:12:28 +1100
- Subject: Re: Putting C++ code into gcc front end
- Organization: Melbourne PC User Group
I mostly don't include C++ in the bootstrap, because
a) It takes twice as long. Sometimes that's the difference between midnight
and 1AM.
b) I don't like C++ (just my personal opinion).
At the moment, to hack GCC, you need to know
sh
make
configure
cygnus-configure
m4
C
tcl
expect
dejagnu
rtl
spec
autoconf
autogen
(more than that, I am sure)
sed
'lex'
'yacc'
I think that's enough. Please don't add C++. I am hoping it will go away
before I need to learn it. )On the positive side, longer builds would give me
time to learn it ;-))
Tim Josling
> From:
> Michael Matz
>
> Hi,
>
> On 3 Mar 2003, Tom Tromey wrote:
>
> > However, the libgcj verifier is written in C++. So, if I were to do
> > this, it would mean adding some C++ code to the gcj front end.
> >
> > In case it matters, the C++ code in question is in gcc/libjava/verify.cc.
>
> Regarding the use of C++ in the non-{C,C++} frontends I'm undecided. But
> if something like verify.cc gets into bootstrap process, we somewhen need
> to speed up the compiler. verify.cc and interpret.cc are two of the most
> time suckers in compiling the compiler generally and libjava especially.
> I wouldn't like to have this code compiled three times.
>
>
> Ciao,
> Michael.