Creating PreProcessed file .i in g++

Claudio Bley bley@cs.uni-magdeburg.de
Fri Nov 7 08:13:00 GMT 2003


On Fri, Nov 07, 2003 at 10:45:00AM +0530, Lalit Seth wrote:
> Hi all,
> 
> I wanted to craete a preprocessed file i.e a .i extension file using g++.
> 
> ie. g++ <options flags> filename.cpp which generates a file 'filename.i'

g++ -E -o filename.i filename.cpp

-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux user                         - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



More information about the Gcc-help mailing list