how to get .c equivalent of a .cpp
kevin diggs
diggskevin38@gmail.com
Wed Jul 13 18:43:00 GMT 2011
Hi,
On Wed, Jul 13, 2011 at 3:45 AM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
> On Jul 13, 2011, at 12:00 PM, ranjith kumar wrote:
>
>> 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.
>
> This was the way first C++ compilers operated. GCC compiles C++ code directly into assembly.
>
I think these were sometimes called "cfront".
kevin
More information about the Gcc-help
mailing list