From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2685 invoked by alias); 15 Aug 2002 17:36:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2671 invoked by uid 71); 15 Aug 2002 17:36:04 -0000 Date: Thu, 15 Aug 2002 11:56:00 -0000 Message-ID: <20020815173604.2670.qmail@sources.redhat.com> To: aj@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Andreas Jaeger Subject: Re: web/7603: Incorrect flag specified in page Reply-To: Andreas Jaeger X-SW-Source: 2002-08/txt/msg00305.txt.bz2 List-Id: The following reply was made to PR web/7603; it has been noted by GNATS. From: Andreas Jaeger To: rchiang@nvidia.com Cc: gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: web/7603: Incorrect flag specified in page Date: Thu, 15 Aug 2002 19:27:44 +0200 rchiang@nvidia.com writes: >>Number: 7603 >>Category: web >>Synopsis: Incorrect flag specified in page >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: gerald >>State: open >>Class: doc-bug >>Submitter-Id: net >>Arrival-Date: Thu Aug 15 09:36:00 PDT 2002 >>Closed-Date: >>Last-Modified: >>Originator: rchiang@nvidia.com >>Release: GCC 3.2 >>Organization: >>Environment: > >>Description: > The web page at > > http://gcc.gnu.org/gcc-3.2/c++-abi.html > > Specifies that "-enable-shared" should be set. The correct flag should be "--enable-shared". fixed with the appended patch which I committed as obvious. thanks, Andreas Index: htdocs/gcc-3.2/c++-abi.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.2/c++-abi.html,v retrieving revision 1.2 diff -u -p -r1.2 c++-abi.html --- htdocs/gcc-3.2/c++-abi.html 9 Aug 2002 13:41:17 -0000 1.2 +++ htdocs/gcc-3.2/c++-abi.html 15 Aug 2002 17:27:31 -0000 @@ -22,16 +22,16 @@ the guidelines given here for GNU/Linux systems.

Configuring GCC

- +

Configure GCC with this options:

        --enable-__cxa_atexit
      
- +

GCC is configured by default on GNU/Linux systems also with these two flags, do not change them to any other value:

 -      --enable-threads=posix -enable-shared 
 +      --enable-threads=posix --enable-shared
      

If you do not use these options, your files generated by GCC will not be fully ABI compatible.

@@ -55,14 +55,14 @@ this order:

  1. New binutils version
  2. -
  3. New glibc version
  4. +
  5. New glibc version (on GNU/Linux systems only)
  6. GCC 3.2

Especially, if you update binutils, you should rebuild glibc so that glibc can take advantage of some new options of binutils.

Caveat

- +

Since GCC now implements a written ABI that is also implemented by other compiler vendors, it might be that we encounter different interpretations of the ABI by the vendors, bugs in the ABI or bugs -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj