diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-08 09:30:17 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-08 09:30:17 +0000 |
commit | 45e92465815e16d02a611005b61abc6a65f6b91c (patch) | |
tree | 7cb75b38697c04be28bac4a388a5c8b71db5373c /numpy/distutils/fcompiler/gnu.py | |
parent | cc7fd3d7d62f4bc6ee17456d282475781204f98e (diff) | |
download | numpy-45e92465815e16d02a611005b61abc6a65f6b91c.tar.gz |
numpy.distutils: use language flag or source file extension to select default f77 or f90 compiler.
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index cd272b885..6e0f1895d 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -28,7 +28,7 @@ class GnuFCompiler(FCompiler): executables = { 'version_cmd' : [fc_exe,"--version"], 'compiler_f77' : [fc_exe, "-g", "-Wall","-fno-second-underscore"], - 'compiler_f90' : None, + 'compiler_f90' : None, # Use --fcompiler=gnu95 for f90 codes 'compiler_fix' : None, 'linker_so' : [fc_exe, "-g", "-Wall"], 'archiver' : ["ar", "-cr"], @@ -50,6 +50,8 @@ class GnuFCompiler(FCompiler): g2c = 'g2c' + suggested_f90_compiler = 'gnu95' + #def get_linker_so(self): # # win32 linking should be handled by standard linker # # Darwin g77 cannot be used as a linker. |