[m-rev.] diff: fix link error building gcc back-end

Fergus Henderson fjh at cs.mu.OZ.AU
Sun May 12 08:28:19 AEST 2002


Estimated hours taken: 0.5
Branches: main

Fix a problem triggered by Zoltan's recent pseudo-typeinfo RTTI changes,
which resulted in a link error when building the gcc back-end.

compiler/Mmakefile:
	Define MR_NO_BACKWARDS_COMPAT rather than MERCURY_BOOTSTRAP_H.
	This is needed because runtime/mercury_bootstrap.h now contains
	stuff that is there for reasons other than bootstrapping(!).

Workspace: /mnt/ceres/home/ceres/fjh/mercury
Index: compiler/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.55
diff -u -d -r1.55 Mmakefile
--- compiler/Mmakefile	2002/04/29 08:22:00	1.55
+++ compiler/Mmakefile	2002/05/11 22:20:46
@@ -65,7 +65,7 @@
 
 # The c_code in the module gcc.m needs the header files from the GNU C
 # distribution.
-CFLAGS-gcc =	-DMERCURY_BOOTSTRAP_H \
+CFLAGS-gcc =	-DMR_NO_BACKWARDS_COMPAT \
 		-DIN_GCC -DHAVE_CONFIG_H \
 		-I. \
 		-I$(GCC_SRC_DIR)/gcc \

-- 
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