From 9474991300d3e59a1d7249d155e85c7d9f162fe9 Mon Sep 17 00:00:00 2001 From: cookedm Date: Mon, 28 May 2007 17:59:49 +0000 Subject: fix my mistake in fcompiler/absoft.py and fcompiler/intel.py --- numpy/distutils/fcompiler/absoft.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/distutils/fcompiler/absoft.py') diff --git a/numpy/distutils/fcompiler/absoft.py b/numpy/distutils/fcompiler/absoft.py index 32a58fd31..b14a59b26 100644 --- a/numpy/distutils/fcompiler/absoft.py +++ b/numpy/distutils/fcompiler/absoft.py @@ -30,7 +30,7 @@ class AbsoftFCompiler(FCompiler): # Note that fink installs g77 as f77, so need to use f90 for detection. executables = { - 'version_cmd' : None, + 'version_cmd' : ['', None], 'compiler_f77' : ["f77"], 'compiler_fix' : ["f90"], 'compiler_f90' : ["f90"], @@ -45,9 +45,9 @@ class AbsoftFCompiler(FCompiler): module_dir_switch = None module_include_switch = '-p' - def get_version_cmd(self): + def get_flags_version(self): f = cyg2win32(dummy_fortran_file()) - return ['', '-V', '-c', f+'.f', '-o', f+'.o'] + return ['-V', '-c', f+'.f', '-o', f+'.o'] def get_flags_linker_so(self): if os.name=='nt': -- cgit v1.2.1