Changeset 320


Ignore:
Timestamp:
Jun 30, 2011 10:04:53 AM (10 years ago)
Author:
vondreele
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fsource/SConstruct

    r319 r320  
    125125elif FCompiler == 'g77':
    126126    if FORTpath == "": FORTpath = G77path
    127     if F2PYflags == "": F2PYflags = '--fcompiler=gnu --f77exec=g77 --f77flags="-fno-range-check"'
    128127    if sys.platform == "win32":
     128        if F2PYflags == "": F2PYflags = '--compiler=mingw32 --fcompiler=gnu'
    129129        if FORTflags == "": FORTflags = ' -w -O2 -fno-automatic -finit-local-zero -malign-double -mwindows'
     130    else:
     131        if F2PYflags == "": F2PYflags = '--fcompiler=gnu --f77exec=g77 --f77flags="-fno-range-check"'
     132
    130133else:
    131134    if FORTpath == "": print 'Likely error, FORTpath is not specified'
     
    203206if FORTpath != "":  env.PrependENVPath('PATH', FORTpath)
    204207if F2PYpath != "":  env.PrependENVPath('PATH', F2PYpath)
    205 var = 'LDFLAGS'
    206 env['ENV'][var] = eval(var)
     208#var = 'LDFLAGS'
     209#env['ENV'][var] = eval(var)
    207210
    208211# find libraries to build (subdirectories named *subs)
     
    227230    modlist.append(out[0].name)
    228231    env.Install(InstallLoc, out[0].name)
    229     break # bail out early for testing
     232    #break # bail out early for testing
    230233print 80*'='
    231234for var in ['FCompiler','FORTpath','FORTflags','F2PYflags','F2PYpath','F2PYsuffix','LDFLAGS']:
Note: See TracChangeset for help on using the changeset viewer.