This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g77 and C preprocessor


>>>>> "Paul" == Paul Martinolich <martinol@datasync.com> writes:

 Paul> Currently, g77 uses the filename extension to determine whether
 Paul> to run cpp.  I have a library full of .f files, some of which
 Paul> require cpp.  By default, my SGI platform will run the
 Paul> preprocessor,

That's highly losing behaviour (certainly given the cpp predefines
they have) which I've had to subvert in the past.

 Paul> but my Linux box will not.  Is there or can there be a switch
 Paul> to force (-cpp) or not force (-nocpp) the preprocessor to run?
 Paul> I could not find any in the g77.info* files.  I would rather
 Paul> keep all lowercase extensions.

Presumably `-x f77-cpp-input' is what you want.  A search in the
manual yields it, though it clearly should be indexed/cross-referenced,
fix, fix.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]