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: GNAT is a compiler, too


Toshitaka Kumano <kumano@cl.cilas.net> writes:

> Bruce Korb wrote:
>> 
>> > I find incidentally that
>> > http://gcc.gnu.org/onlinedocs/gcc/G---and-GCC.html#G++%20and%20GCC says,
>> >
>> > G++ is a compiler, not merely a preprocessor. G++ builds object
>> > code directly from your C++ program source. There is no
>> > intermediate C version of the program.
>> 
>> This is an artifact of the original C++ implementation was CFront,
>> a front end to C.  It was horrible and lived on for 15 years.
>> ADA has always been a compiled language.
>
> Do you mean the paragraph, a special mention for C++, should be removed
> ?

IMHO, we do not need to stress that GNAT is not a transpiler.  I know
that quite a few people believe this because older GNAT versions
generate a C source file by default (which does not contain any code
from the actual program), but these people won't read the manual
either. ;-)


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