Re: output a c file?

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

 



On Fri, Mar 27, 2009 at 16:50,  <anlippert@xxxxxx> wrote:

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

No, but you can get something resembling C with the
-fdump-tree-optimized option.  The output is not compilable and it's
not really C, though.


Diego.

[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