Mail Archives: djgpp/1997/11/05/12:17:00
Fabrice ILPONSE wrote:
>
> Hi!
>
> I've heard talking about programs that translate C++ programs to C.
> Does somebody know about them?
Well, the short answer is that there is no such thing.
The longer one is that cfront, by AT&T, was a kind of precompiler
that turned C++ into something one could feed into an ordinary
C compiler. Much the same way as f2c works for FORTRAN. But
as far as I recall it it dated to something in the early 90s,
so it does not support a lot of features C++ has _now_.
But after all, gcc is just a program to turn
C++ into assembler ;-)
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -