public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: <bkoz@haight.constant.com>
To: gcc@gcc.gnu.org
Subject: re: bootstrap with -fnew-abi?
Date: Thu, 30 Sep 1999 18:02:00 -0000	[thread overview]
Message-ID: <199909132016.NAA06047@haight.constant.com> (raw)
Message-ID: <19990930180200.YVj9q6V8Ivhuni0ThfCzxbYE4otl7OEpH4TXSq7JY-0@z> (raw)

  Is it possible to bootstrap with the -fnew-abi option for g++, so
  that -fnew-abi is set by default for the resulting g++-compiler? No
  anser in the FAQ!

just change the relevant bits in gcc/cp/decl2.c (440):

int flag_new_abi;

to 

int flag_new_abi = 1;

There is a thread about using new flags on the libstdc++-v3 list:
search for "HOWTO-honor-std" in the archives of the mailing list. 
http://sourceware.cygnus.com/libstdc++

-Benjamin

This patch will also work:

Index: decl2.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/decl2.c,v
retrieving revision 1.256
diff -c -p -r1.256 decl2.c
*** decl2.c	1999/09/12 02:45:26	1.256
--- decl2.c	1999/09/13 20:14:50
*************** int flag_weak = 1;
*** 437,443 ****
  
  /* Nonzero to enable experimental ABI changes.  */
  
! int flag_new_abi;
  
  /* Nonzero to not ignore namespace std. */
  
--- 437,443 ----
  
  /* Nonzero to enable experimental ABI changes.  */
  
! int flag_new_abi = 1;
  
  /* Nonzero to not ignore namespace std. */

             reply	other threads:[~1999-09-30 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-13 13:16 bkoz [this message]
1999-09-30 18:02 ` bkoz
  -- strict thread matches above, loose matches on Subject: below --
1999-09-13  8:10 Konstantin Baumann
1999-09-30 18:02 ` Konstantin Baumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199909132016.NAA06047@haight.constant.com \
    --to=bkoz@haight.constant.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).