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

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Aug 1 07:42:20 AEST 2001


On 01-Aug-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> On 01-Aug-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > On 01-Aug-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > > 
> > > On 01-Aug-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > > > 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.
> > > 
> > > How often does the GCC 3.0 optimizer bug you reported occur
> > > with the LLDS backend?
> > 
> > Every time.  It breaks "hello world". 
> 
> In that case you need to add some documentation to the GCC back-end
> page (and the download/release.html page ) to recommend that users only
> use GCC 3.0 for the GCC back-end, and keep an older GCC (e.g. 2.95.3)
> around for use when compiling using other grades.

OK.  Here's a relative diff.

diff -u w3/download/include/gcc-backend.inc w3/download/include/gcc-backend.inc
--- w3/download/include/gcc-backend.inc
+++ w3/download/include/gcc-backend.inc
@@ -14,8 +14,20 @@
 
 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,, although the Mercury native code compiler is based
+on GCC 3.0 sources, you need to use an earlier version of GCC, e.g. gcc 2.95.*,
+to compile it.  We strongly recommend that you
+do NOT <em>install</em> GCC 3.0, because the C compiler in GCC 3.0
+has some bugs that cause problems when it is used to compile the C
+files generated by the Mercury compiler.
+
+<p>
+
+The version of the native code compiler in our CVS repository and our
+release-of-the-day distributions bootstraps, and passes all of the appropriate
+tests in our test suite.  It is essentially ready for an official release.
+
+<p>
 
 However, currently it has only been tested on
 i686-pc-linux-gnu (Intel x86 PCs running GNU/Linux).
-- 
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