This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor in g77?
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Jack Howarth <howarth at nitro dot msbb dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 28 Dec 2001 20:54:57 +0100
- Subject: Re: preprocessor in g77?
- References: <200112281939.OAA29787@nitro.msbb.uc.edu>
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.