/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.37 by heimbach, Fri Nov 14 05:25:46 2003 UTC revision 1.38 by edhill, Fri Nov 14 12:52:56 2003 UTC
# Line 290  EOF Line 290  EOF
290          echo "WARNING: C test compile fails -- please see \"genmake_errors\""          echo "WARNING: C test compile fails -- please see \"genmake_errors\""
291          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"
292          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."
293            rm -f genmake_tcomp.* genmake_test.*
294          return 1          return 1
295      fi      fi
296      c_tcall=`nm genmake_test.o | grep tcall | cut -d ' ' -f 3`      c_tcall=`nm genmake_test.o | grep tcall | cut -d ' ' -f 3`
# Line 300  EOF Line 301  EOF
301          echo "WARNING: The \"nm\" command failed."          echo "WARNING: The \"nm\" command failed."
302          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"
303          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."
304            rm -f genmake_tcomp.* genmake_test.*
305          return 1          return 1
306      fi      fi
307      cat > genmake_tcomp.f <<EOF      cat > genmake_tcomp.f <<EOF
# Line 317  EOF Line 319  EOF
319          echo "WARNING: FORTRAN test compile fails -- please see \"genmake_errors\""          echo "WARNING: FORTRAN test compile fails -- please see \"genmake_errors\""
320          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"
321          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."
322            rm -f genmake_tcomp.* genmake_test.*
323          return 1          return 1
324      fi      fi
325      f_tcall=`nm genmake_tcomp.o | grep tcall | cut -d ' ' -f 3`      f_tcall=`nm genmake_tcomp.o | grep tcall | cut -d ' ' -f 3`
# Line 327  EOF Line 330  EOF
330          echo "WARNING: The \"nm\" command failed."          echo "WARNING: The \"nm\" command failed."
331          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"          echo "WARNING: We'll try to use: FC_NAMEMANGLE='$FC_NAMEMANGLE'"
332          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."          echo "WARNING: Please contact <MITgcm-support@mitgcm.org> if you need help here."
333            rm -f genmake_tcomp.* genmake_test.*
334          return 1          return 1
335      fi      fi
336    

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.22