Re: comment and IBM xlf
- From: Markus Franke <Markus-Franke@xxxxxx>
- Date: Thu, 28 Sep 2006 15:57:31 +0200
Hi,
simon@xxxxxxxxxxxxxx wrote:
Well you haven't given any examples of what you have tried so it's a
little hard to help. What you could try (and this works for g95) is to
use the c-preprocessor syntax:
#include "config.h"
that's what I am doing.
and then use compiler options to ensure that the c-preprocessor is run
on the code prior to the fortran compiler. On g95 this is done with the
cpp option:
g95 -cpp -c fred.f90
Would be nice if there is such an option in XLF but there is none.
In fact I tried to use "-qsuffix=cpp=F90" to invoke the CPP for my sourcecode files which end on *.F90. I think IBM XLF uses the CPP for standard as can figure out from the Manpages. I also tried to set the CPP environment variable explicitly to "/usr/bin/cpp" but without any success.
Regard,
Markus Franke
.
- References:
- comment and IBM xlf
- From: Markus Franke
- Re: comment and IBM xlf
- From: simon
- comment and IBM xlf
- Prev by Date: Re: Stack size, and warnings, PS
- Next by Date: Re: Stack size, and warnings
- Previous by thread: Re: comment and IBM xlf
- Next by thread: Re: comment and IBM xlf
- Index(es):