Re: comment and IBM xlf



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
.