🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by pozo Wed, 11 Nov 1992 08:42
.i files from C++
#1351
Author: pozo
Date: Wed, 11 Nov 1992 08:42
6 lines
574 bytes
After reading the man page for gcc/g++, I'm still not sure how to see
the intermediate C code from g++.  What flag do I specify on the 
command line? 

Thanks for any info,
Roldan
Re: .i files from C++
#1386
Author: Joe Buck
Date: Thu, 12 Nov 1992 19:10
18 lines
1323 bytes
In article <9211111842.AA14080@demidoff.cs.utk.edu> pozo@cs.utk.edu writes:
>After reading the man page for gcc/g++, I'm still not sure how to see
>the intermediate C code from g++.  What flag do I specify on the 
>command line? 

There is no intermediate C code from g++.  It goes straight to assembler,
as most non-cfront-derived C++ compilers do.

Furthermore, it appears, from work presented at the Usenix C++ Conference
in Portland, that there is a substantial performance penalty for any
attempt at a portable implementation of exceptions if you are required to
produce C code.  Unless major mistakes were made, this suggests that in
the future, compilers like cfront will fade away since they won't be able
to compete with straight-to-assembler implementations.


--
Joe Buck	jbuck@ohm.berkeley.edu
.i files from C++
#1381
Author: Brendan Kehoe
Date: Fri, 13 Nov 1992 01:15
12 lines
1111 bytes
> After reading the man page for gcc/g++, I'm still not sure how to see
> the intermediate C code from g++.  What flag do I specify on the 
> command line? 

There is no intermediate C code, because g++ is a native compiler.
That is, it generates assembly directly from the C++ program, without
acting as a "translator" to convert the C++ into C.

--
Brendan Kehoe                                               brendan@cygnus.com
Cygnus Support, Mountain View, CA                              +1 415 903 1400
                                                             His name's Avery!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads