how to get .c equivalent of a .cpp

Ian Lance Taylor iant@google.com
Wed Jul 13 15:37:00 GMT 2011


ranjith kumar <ranjithproxy@gmail.com> writes:

> 2)What are the all possible cases in which GCC creates the temporary objects?
> How to disable the compiler from producing temporary objects?

There is no way to prevent the compiler from producing any temporary
object at all.  There are cases where it has to.  For example
    gcc -o foo foo.c
must create a temporary object file somewhere.

Ian



More information about the Gcc-help mailing list