[m-rev.] for review: update GCC back-end web page

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Aug 1 05:17:30 AEST 2001


The GCC back-end is now integrated with GCC 3.0 and now passes all of the
appropriate tests in the Mercury test suite.  So it's basically ready for an
official release.  Here's an update for the web page.

----------

Estimated hours taken: 2
Branches: main

w3/download/include/gcc-backend.inc:
	Update to reflect recent changes:
		- Tabling and nested modules now supported
		- Mercury 0.10 and 0.10.1 released
		- GCC 3.0 released, and now supported by Mercury's GCC back-end
	Mention that the sources can be obtained via CVS.

w3/information/developers/remote_cvs.html:
	Mention the "gcc/mercury" module.

Workspace: /home/hg/fjh/ws-hg2/mercury
Index: w3/download/include/gcc-backend.inc
===================================================================
RCS file: /home/mercury1/repository/w3/download/include/gcc-backend.inc,v
retrieving revision 1.5
diff -u -d -r1.5 gcc-backend.inc
--- w3/download/include/gcc-backend.inc	2001/06/24 02:18:10	1.5
+++ w3/download/include/gcc-backend.inc	2001/07/31 18:51:56
@@ -12,24 +12,30 @@
 <p>
 <H3>Status</H3>
 
-The current version of the Mercury native code compiler should be
-considered a beta release.  It is based on an unreleased snapshot
-version of the GCC back-end.  Currently it has only been tested on
+The version of the native code compiler in our CVS repository and our
+release-of-the-day distributions is based on GCC 3.0.
+It bootstraps, and passes all of the appropriate tests in our test suite.
+It is essentially ready for an official release.
+
+However, currently it has only been tested on
 i686-pc-linux-gnu (Intel x86 PCs running GNU/Linux).
+We have don't know if it works on other systems.
 
 <p>
 
-The native code compiler bootstraps, and passes all of the tests in
-our test suite, except for those that use nested modules or tabled
-evaluation, which are not yet implemented.
+The version of the Mercury native code compiler that was included in
+Mercury 0.10.1 should be considered a beta release.  It does not support
+nested modules or tabled evaluation.  It was based on an
+unreleased snapshot version of the GCC back-end, and it does not
+work if you use it with GCC 3.0 instead. 
 
 <p>
 
 The version of the GCC back-end interface included in Mercury 0.10
+was also a beta release.  As well as the issues with 0.10.1, it also
 had a bug that often caused the compiler to abort.  The work-around
 for that is to compile with `--no-optimize-initializations'.
-This is fixed in our CVS repository and in recent release-of-the-day
-snapshots.
+This was fixed in Mercury 0.10.1.
 
 <p>
 
@@ -47,23 +53,34 @@
 This contains the Mercury compiler front-end (about 225,000 lines
 of Mercury), as well as the Mercury standard library (about 50,000
 lines of Mercury), runtime system (about 30,000 lines of C), etc.
-You'll need either version 0.10 (not yet released at the time of
-writing), or a release-of-the-day version dated February 2001 or
-later.  You can get this from the <a href="<?echo
+You'll need version 0.10, version 0.10.1,
+or (preferably) a release-of-the-day version dated 2001-07-30 or later.
+You can get this from the <a href="<?echo
 $root?>/download.html">Download</a> section of the Mercury web site.
+Or you can use
+<a href="<?echo $root?>/information/developers/remote_cvs.html">CVS</a>.
 
 <li>
 The second part is the <b>gcc</b> distribution (about 450,000 lines of C).
 The gcc distribution is available from the <A HREF="http://gcc.gnu.org">
 GCC web site</A>.  Or you can get it from the
-<A HREF="ftp://ftp.mercury.cs.mu.OZ.AU/pub/mercury/beta-releases/">
+<A HREF="ftp://ftp.mercury.cs.mu.OZ.AU/pub/mercury/">
 Mercury ftp site</A>.
-Currently you'll need the 20010129 shapshot of gcc,
+For current release-of-the-day versions of Mercury, you'll need GCC 3.0.
+One small
+<A HREF="ftp://ftp.mercury.cs.mu.OZ.AU/pub/mercury/gcc-3.0.patch-for-mercury">
+patch</a> must be applied to the GCC 3.0 sources
+to make them work with the Mercury compiler.
+For Mercury 0.10 or 0.10.1,
+you'll need the 20010129 shapshot of gcc,
 which you can get from the GCC cvs repository
 (use the option `-rgcc_ss_20010129' when checking it out),
-or from the Mercury ftp site.
-One small <A HREF="http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00577.html">
-patch</a> must be applied to the GCC sources
+or from the
+<A HREF="ftp://ftp.mercury.cs.mu.OZ.AU/pub/mercury/beta-releases/">
+Mercury ftp site</A>.
+A slightly different
+<A HREF="http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00577.html">
+patch</a> must be applied to this snapshot of the GCC sources
 to make them work with the Mercury compiler.
 
 <li>
@@ -73,6 +90,10 @@
 the GCC distribution, but currently it is distributed separately,
 via the <A HREF="ftp://ftp.mercury.cs.mu.OZ.AU/pub/mercury/beta-releases/">
 Mercury ftp site</A>.
+For Mercury 0.10 or 0.10.1, get mercury-gcc-0.10.1.tar.gz.
+For release-of-the-day distributions, get mercury-gcc-rotd-20010731.tar.gz.
+Alternatively, you can also get this using
+<a href="<?echo $root?>/information/developers/remote_cvs.html">CVS</a>.
 </ul>
 
 Unfortunately the interface to the GCC back-end changes quite frequently,
@@ -80,12 +101,10 @@
 above.
 
 <H3>Binaries</H3>
-
-Some of our release-of-the-day binary distributions --
-specifically the ones named "*i686-pc-linux-gnu-O4*"
-(but NOT the ones named "*i686-pc-linux-gnu-O4-hlc")
-currently include the native-code compiler.
 
-We also hope to include the native-code compiler in the
-binary distributions for Mercury 0.10.
+The native-code compiler is included in some of our binary distributions
+for 0.10, 0.10.1, and the release-of-the-day releases.
+The distributions that include the native-code compiler are
+the ones named "*i686-pc-linux-gnu-O4*"
+(but NOT the ones named "*i686-pc-linux-gnu-O4-hlc").
 
Index: w3/information/developers/remote_cvs.html
===================================================================
RCS file: /home/mercury1/repository/w3/information/developers/remote_cvs.html,v
retrieving revision 1.3
diff -u -d -r1.3 remote_cvs.html
--- w3/information/developers/remote_cvs.html	2000/08/22 09:41:55	1.3
+++ w3/information/developers/remote_cvs.html	2001/07/31 19:01:52
@@ -164,6 +164,10 @@
 		<dl>
 	  	<dt>mercury	<dd> the mercury compiler, runtime, library,
 				  extras and documentation. (8.9Mb)
+	  	<dt>gcc/mercury	<dd> the mercury-gcc distribution;
+				  this contains part of the source for the
+				  <a href="http://www.mercury.cs.mu.oz.au/download/gcc-backend.html">native code
+				  back-end</a>
 	  	<dt>tests	<dd> test cases for the compiler (0.72Mb)
 		<dt>clpr	<dd> the CLP(R) interface (0.88Mb)
 		<dt>w3		<dd> the www page (7.5Mb - lots of papers)

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20010801/383a8177/attachment.html>


More information about the reviews mailing list