Re: output a c file?

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

 



Hello,

you may also have a look at the ROSE compiler framework [1]. Maybe that can help you.

Bye, Ralf

[1] http://en.wikipedia.org/wiki/ROSE_compiler_framework

John (Eljay) Love-Jensen schrieb:
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


--
RALF JAHR
University of Augsburg       mailto:ralf.jahr@xxxxxxxxxxxxxxxxxxxxxxxxxx
Dept. of Computer Science                      Phone: (+49) 821 598-2354
D-86159 Augsburg, Germany                      Fax:   (+49) 821 598-2359

[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