[m-rev.] diff: fix for symlink problem with IL grade

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Apr 15 16:12:52 AEST 2003


Estimated hours taken: 0.5
Branches: main

tools/bootcheck:
	Use $LN rather than $LN_S for mercury_conf*.h,
	since those files are referenced by MC++ code in library.m,
	and MSVC doesn't support Cygwin symlinks.

Workspace: /home/fjh/ws/hermes
Index: tools/bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.147
diff -u -d -r1.147 bootcheck
--- tools/bootcheck	3 Mar 2003 14:42:48 -0000	1.147
+++ tools/bootcheck	15 Apr 2003 06:09:51 -0000
@@ -530,8 +530,9 @@
 			# links (hard links are OK, Cygwin's ln just makes
 			# copies).
 			$LN $root/runtime/*.cpp .
-			rm -f mercury_mcpp.h
+			rm -f mercury_mcpp.h mercury_conf*.h
 			$LN $root/runtime/mercury_mcpp.h .
+			$LN $root/runtime/mercury_conf*.h .
 			$LN $root/runtime/mercury_il.il .
 			$LN_S $root/runtime/*.in .
 			cp $root/runtime/Mmake* .


-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list