[m-rev.] diff: enable par grades on MacOS X

Peter Ross pro at missioncriticalit.com
Mon May 5 18:51:41 AEST 2003


Hi,

This patch allows one to build the hlc.par.gc grade on MacOS X, however
when you try and run an executable you get an illegal instruction error.

I am trying to debug that one now.

===================================================================


Estimated hours taken: 0.5
Branches: main

Enable the parallel grades for MacOS X.

configure.in:
	Set CFLAGS_FOR_THREADS and THREAD_LIBS for MacOS X.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.359
diff -u -r1.359 configure.in
--- configure.in	17 Apr 2003 06:24:22 -0000	1.359
+++ configure.in	5 May 2003 08:48:47 -0000
@@ -2121,6 +2121,11 @@
 		esac
 		;;
 
+	*powerpc*apple*)
+		CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE"
+		THREAD_LIBS=""
+		;;
+
 ###	# The threads stuff on Digital Unix (OSF) is not yet enabled because
 ###	# the Boehm garbage collector doesn't support threads on that platform
 ###	# XXX probably we should enable it but report an error if you try to

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