This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g77 and C preprocessor
- To: Paul Martinolich <martinol at datasync dot com>
- Subject: Re: g77 and C preprocessor
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 12 Nov 1998 17:57:46 +0000
- Cc: egcs at cygnus dot com
- References: <199811041647.KAA09835@osh1.datasync.com>
>>>>> "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.