[m-rev.] diff: document workaround for problem with Solaris 10
Julien Fischer
juliensf at csse.unimelb.edu.au
Wed Aug 1 15:20:51 AEST 2012
The following is from Peter Ross and is for the 11.07 branch only.
-------------------------------------------------------------------
Branches: 11.07
README.Solaris:
Describe a workaround for compilation problems on Solaris 10.
Julien.
Index: README.Solaris
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/README.Solaris,v
retrieving revision 1.2
diff -u -r1.2 README.Solaris
--- README.Solaris 15 Sep 2006 09:11:22 -0000 1.2
+++ README.Solaris 1 Aug 2012 05:11:48 -0000
@@ -5,3 +5,13 @@
Also, note that `--linkage static' is not supported on Solaris. Executables
produced using this option will cause a segmentation fault.
+
+------------------------------------------------------------------------------
+
+With Solaris 10 on SPARC based systems the Mercury compiler needs to be built
+with C compiler optimizations disabled. To do this put the line:
+
+ EXTRA_CFLAGS = -O0
+
+in a file named 'Mmake.params' in the top-level of the source tree.
+(i.e. in the same directory as this README file.)
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list