This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how to get .c equivalent of a .cpp
- From: ranjith kumar <ranjithproxy at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 13 Jul 2011 13:30:03 +0530
- Subject: how to get .c equivalent of a .cpp
Hi,
1) I read somewhere that .cpp code is converted into .c code by the
compiler, and .c file is used to make the executable file.
Is there any flag to get the .c equivalent of .cpp file??
If no, how to get it?
2)What are the all possible cases in which GCC creates the temporary objects?
How to disable the compiler from producing temporary objects?
Thanks.