Peter,
On 2005 Apr 1 , at 11.28, Peter W. Draper wrote:
> On Thu, 31 Mar 2005, Norman Gray wrote:
>
>> Fixed. This now appears to work on Tru64 and OS X (weirdo compiler
>> and
>> weirdo filesystem, so probably a decent pair of tests...). However I
>> can't check the '-old_f77' thing on rlsaxp0 -- if you feel like it,
>> can
>> you update autoconf and give this another go, Peter, when you have a
>> chance?
>
> the -old_f77 trick seems to working, so I expect that build to complete
> now (with FC/F77="f77 -old_f77").
Sorry, I wasn't clear. I added 'f77 -old_f77' to (the end of) the list
of compiler+flag combinations that the Fortran support attempts, in a
push toward making setting FC/F77 unnecessary.
In particular, setting FPP on the Solaris builds should now be
unnecessary: using fpp should unnecessary on Solaris, since the Solaris
compilers can all do preprocessing, so that the FPP variable shouldn't
be examined. It would probably be good to verify that in the nightly
builds -- Steve, would you be able to edit that in the Solaris build?
Just by the way, it does seem a bit odd that this failed on your Alpha.
The message you got was
> When I run
> .F files through it says:
>
> cpp: Severe: No such file or directory
> ... file is '`-DLANGUAGE_FORTRAN_95'
> f90: Severe: The input stream is empty
The f90 and f95 compilers (which includes f77) on the Alpha explicitly
use cpp to do their preprocessing, so if this is a cpp -D option, it
should have been swallowed by the cpp, rather than getting through to
the actual Fortran compiler. Does this suggest that something a bit
more serious is wrong? Is there any other readily available context to
this message?
Since we've always been very disciplined about Fortran standards, I
would expect that we've been using the F77 subset that's carried into
F9x. If so, then we should surely expect that F9x compilers would be
able to compile all our stuff, wouldn't we? Ought we to be pushing for
that, do you (anyone?) think? Or is it just too much hassle?
See you,
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|