RE: output a c file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anthony,

> Is there a way to make gcc take an input .cpp file and output a translated .c program?

Not with GCC.

Comeau C++ used to do that.  I'm not sure if it still does that.
http://www.comeaucomputing.com/

Stroustrup's cfront used to do that.  But was abandoned with cfront 4.0 when exceptions were attempted to be added (around 1990).  It's no longer available.
http://en.wikipedia.org/wiki/Cfront

You may be able to find an old copy of cfront (see above URL).

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux