changeset 3660:2dc265765850

[project @ 2000-04-20 08:22:33 by jwe]
author jwe
date Thu, 20 Apr 2000 08:23:47 +0000
parents e68976912bb5
children 1d8d6429396a
files ChangeLog mkoctfile.in
diffstat 2 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 19 16:43:57 2000 +0000
+++ b/ChangeLog	Thu Apr 20 08:23:47 2000 +0000
@@ -1,3 +1,8 @@
+2000-04-20  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* mkoctfile.in: Try moving output file first.  But comment these
+	lines and let people who have trouble enable them.
+
 2000-04-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* mkoctfile.in: Remove output file before linking.
--- a/mkoctfile.in	Wed Apr 19 16:43:57 2000 +0000
+++ b/mkoctfile.in	Thu Apr 20 08:23:47 2000 +0000
@@ -187,8 +187,16 @@
   done
 fi
 
-$dbg "rm -f $octfile"
-rm -f $octfile
+## Uncomment the following group of lines if you get `Text file busy'
+## errors from ld.  This may happen if the .oct file is currently
+## running while you are trying to recompile it.  We try moving first,
+## since on somee systems (HP-UX, maybe others) it is possible to
+## rename running programs but not remove them.
+
+## $dbg "mv $octfile $octfile.bak"
+## mv $octfile $octfile.bak"
+## $dbg "rm -f $octfile.bak"
+## rm -f $octfile.bak
 
 # Link all the object files.