[Scons-users] SCons ignoring FORTRANPATH

damien at 0x544745.com damien at 0x544745.com
Thu Sep 25 08:47:52 EDT 2014


My point is that we could never get Fortran compiles to work correctly with modules and paths until we reset the way the environment works.  I don't know what the docs say,  we did this many years ago and it works. 

Damien 

Sent from my android device.

-----Original Message-----
From: Tom Cook <tom.k.cook at gmail.com>
To: SCons users mailing list <scons-users at scons.org>
Sent: Wed, 24 Sep 2014 11:34 PM
Subject: Re: [Scons-users] SCons ignoring FORTRANPATH

On Thu, Sep 25, 2014 at 1:02 PM, Damien <damien at khubla.com> wrote:
> All,
>
> This comes up every few years on the list in some form or another. It is an
> annoying, fickle and somewhat temperamental aspect, but very effective, much
> like those of us who still have to have to compile Fortran :-).

I'm not quite clear.  Are you saying that it is a good thing that the
user has to set _FORTRANINCFLAGS because SCons won't do it?  That's
not what the documentation says.  From Appendix A:

> _FORTRANINCFLAGS
>
> An automatically-generated construction variable containing the Fortran
> compiler command-line options for specifying directories to be searched for
> include files and module files. The value of $_FORTRANINCFLAGS is
> created by prepending/appending $INCPREFIX and$INCSUFFIX to the
> beginning and end of each directory in $FORTRANPATH.

That is flat out wrong, as far as I can see.

Regards,
Tom
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20140925/2c057307/attachment.html>


More information about the Scons-users mailing list