Browse Source

Fixed generating shared library bug on MIPS.

tags/v0.2.4
Zhang Xianyi 13 years ago
parent
commit
1d72b8bf1b
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      f_check

+ 8
- 0
f_check View File

@@ -211,6 +211,10 @@ if (!$?) {
if ($?) {
$link = `$compiler $openmp -q32 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
}
#For gfortran MIPS
if ($?) {
$link = `$compiler $openmp -mabi=n32 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
}
$binary = "" if ($?);
}
@@ -219,6 +223,10 @@ if (!$?) {
if ($?) {
$link = `$compiler $openmp -q64 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
}
#For gfortran MIPS
if ($?) {
$link = `$compiler $openmp -mabi=64 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
}
$binary = "" if ($?);
}


Loading…
Cancel
Save