public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* bootstrap with -fnew-abi?
@ 1999-09-13  8:10 Konstantin Baumann
  1999-09-30 18:02 ` Konstantin Baumann
  0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Baumann @ 1999-09-13  8:10 UTC (permalink / raw)
  To: gcc

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!

-- 
Dipl.-Math. Konstantin Baumann                   Phone: +49-251-83-32701
Institute for Computer Science                     Fax: +49-251-83-33755
University of Muenster
Einsteinstrasse 62                    mailto:kostab@math.uni-muenster.de
D-48149 Muenster              http://wwwmath.uni-muenster.de/cs/u/kostab

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bootstrap with -fnew-abi?
  1999-09-13  8:10 bootstrap with -fnew-abi? Konstantin Baumann
@ 1999-09-30 18:02 ` Konstantin Baumann
  0 siblings, 0 replies; 4+ messages in thread
From: Konstantin Baumann @ 1999-09-30 18:02 UTC (permalink / raw)
  To: gcc

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!

-- 
Dipl.-Math. Konstantin Baumann                   Phone: +49-251-83-32701
Institute for Computer Science                     Fax: +49-251-83-33755
University of Muenster
Einsteinstrasse 62                    mailto:kostab@math.uni-muenster.de
D-48149 Muenster              http://wwwmath.uni-muenster.de/cs/u/kostab

^ permalink raw reply	[flat|nested] 4+ messages in thread

* re: bootstrap with -fnew-abi?
  1999-09-13 13:16 bkoz
@ 1999-09-30 18:02 ` bkoz
  0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 1999-09-30 18:02 UTC (permalink / raw)
  To: gcc

  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. */

^ permalink raw reply	[flat|nested] 4+ messages in thread

* re: bootstrap with -fnew-abi?
@ 1999-09-13 13:16 bkoz
  1999-09-30 18:02 ` bkoz
  0 siblings, 1 reply; 4+ messages in thread
From: bkoz @ 1999-09-13 13:16 UTC (permalink / raw)
  To: gcc

  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. */

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-30 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-13  8:10 bootstrap with -fnew-abi? Konstantin Baumann
1999-09-30 18:02 ` Konstantin Baumann
1999-09-13 13:16 bkoz
1999-09-30 18:02 ` bkoz

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).