# HG changeset patch # User jwe # Date 956219027 0 # Node ID 2dc265765850d14f7288d3f1bb7cb2869bc18de3 # Parent e68976912bb5b1b8e4f55240bd19b721edd9cc70 [project @ 2000-04-20 08:22:33 by jwe] diff -r e68976912bb5 -r 2dc265765850 ChangeLog --- 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 + + * 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 * mkoctfile.in: Remove output file before linking. diff -r e68976912bb5 -r 2dc265765850 mkoctfile.in --- 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.