[Scons-users] No executable for fortran program with module

Gary Oberbrunner garyo at oberbrunner.com
Sun Oct 5 10:21:58 EDT 2014


On Sun, Oct 5, 2014 at 9:27 AM, Christopher Dimech
<dimech.christopher at gmail.com> wrote:
> Good afternoon Gary,
>
> It would help if you can write down the code you would write,
> as I only started using it yesterday and can be confusing.

Try something like this (untested):

 env = Environment(tools=['default','gfortran'], LINKFLAGS='-g', ENV =
{'PATH' : path}, FORTRANFLAGS=['-ffree-form', '-g'])

-- 
Gary


More information about the Scons-users mailing list