preprocessor in g77?
Paolo Carlini
pcarlini@unitus.it
Fri Dec 28 12:57:00 GMT 2001
Jack Howarth wrote:
> Hello,
> I was wondering if there are any allowable
> precessor statements in the current 2.95.4
> g77? I have some source code that needs to be
> ported to g77 which uses
>
> #if defined(USE_GETSEED)
> ...
> #else
> ...
> #endif
>
> That doesn't appeared to be allowed.
Just use the following suffixes: `.F', `.fpp', or `.FPP' and cpp will be invoked
by the driver before anything else (i.e., exactly as happens for C and C++).
Cheers,
Paolo.
More information about the Gcc
mailing list