[Scons-users] Picking up gfortran

Christopher Dimech dimech.christopher at gmail.com
Wed May 20 18:00:50 EDT 2015


I have installed gfortran in the path

/home/cdi/Local/gcc-5-20150201/bin

I renamed gfortran to gfortrae5 so it would not clash with
the one in /usr/bin

However scons is giving me the error message

EnvironmentError: No tool named 'gfortran5': not a Zip file:
  File "/media/ios120/cdi/resip/scien/devbr/gbehistun/sct_larsa_core.py",
line 34:

I have been using

path = ['/bin', '/usr/bin', '/home/cdi/Local/gcc-5-20150201/bin']

env = Environment (
        ENV = {'PATH' : path},
        tools=['default','gfortran5'],
        FORTRANFLAGS='-ffree-form -g -J./build/lib -fdiagnostics-color
-Wall',
        LINK='gfortran5',
        LINKFLAGS='-g'
      )





-- 
Christopher Dimech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150520/23c9aad3/attachment.html>


More information about the Scons-users mailing list