## --- egcs-1.0/gcc/toplev.c.ORIG Fri Feb 13 11:15:39 1998 ## +++ egcs-1.0/gcc/toplev.c Fri Feb 13 11:16:41 1998 ## @@ -555,7 +555,7 @@ ## /* Nonzero means generate extra code for exception handling and enable ## exception handling. */ ## ## -int flag_exceptions = 2; ## +int flag_exceptions = 0; /* Default: no exceptions */ ## ## /* Nonzero means don't place uninitialized global data in common storage ## by default. */ ## --- egcs-1.0/gcc/cp/decl2.c.ORIG Fri Feb 13 11:15:56 1998 ## +++ egcs-1.0/gcc/cp/decl2.c Fri Feb 13 11:16:41 1998 ## @@ -345,7 +345,7 @@ ## ## /* Controls whether compiler generates 'type descriptor' that give ## run-time type information. */ ## -int flag_rtti = 1; ## +int flag_rtti = 0; /* Default: off */ ## ## /* Nonzero if we wish to output cross-referencing information ## for the GNU class browser. */ ## --- egcs-1.0/gcc/cp/decl2.c.ORIG Fri Feb 13 11:15:56 1998 ## +++ egcs-1.0/gcc/cp/decl2.c Fri Feb 13 11:16:41 1998 ## @@ -411,7 +411,7 @@ ## /* The name-mangling scheme to use. Must be 1 or greater to support ## template functions with identical types, but different template ## arguments. */ ## -int name_mangling_version = 1; ## +int name_mangling_version = 0; /* Default: pre GCC-2.8 style */ ## ## /* Nonzero means that guiding declarations are allowed. */ ## int flag_guiding_decls; --- egcs-1.0/gcc/config/rs6000/linux.h.ORIG Fri Feb 13 11:16:09 1998 +++ egcs-1.0/gcc/config/rs6000/linux.h Fri Feb 13 11:16:41 1998 @@ -69,4 +69,4 @@ #define MULTILIB_DEFAULTS { "mbig", "mcall-linux" } #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 1 +#define DEFAULT_VTABLE_THUNKS 0 ## diff -ur egcs-1.0/libio/config/linuxlibc1.mt egcs-1.0.NEW/libio/config/linuxlibc1.mt ## --- egcs-1.0/libio/config/linuxlibc1.mt Thu Oct 23 03:17:58 1997 ## +++ egcs-1.0.NEW/libio/config/linuxlibc1.mt Fri Feb 13 12:51:36 1998 ## @@ -23,4 +23,4 @@ ## streambuf.h strfile.h strstream.h libio.h ## ## # A bad kludge ## -MT_CFLAGS=-D_G_HAVE_MMAP ## +MT_CFLAGS=-D_G_HAVE_MMAP -fexceptions -frtti -fname-mangling-version-1 ## diff -uNr egcs-1.0/libstdc++/config/linuxlibc1.mt egcs-1.0.NEW/libstdc++/config/linuxlibc1.mt ## --- egcs-1.0/libstdc++/config/linuxlibc1.mt Thu Jan 1 01:00:00 1970 ## +++ egcs-1.0.NEW/libstdc++/config/linuxlibc1.mt Fri Feb 13 13:23:16 1998 ## @@ -0,0 +1 @@ ## +MT_CFLAGS = -fexceptions -frtti -fname-mangling-version-1 diff -uNr egcs-1.0/libstdc++/configure.in egcs-1.0.NEW/libstdc++/configure.in --- egcs-1.0/libstdc++/configure.in Mon Nov 3 07:33:58 1997 +++ egcs-1.0.NEW/libstdc++/configure.in Fri Feb 13 14:41:31 1998 @@ -43,6 +43,7 @@ # Make sure the right flags are defined for multi-threading. case "${target}" in + *-*-linux-gnulibc1) frags="${frags} linuxlibc1.mt" ;; *-*-linux-gnu) frags="${frags} linux.mt" ;; m68k-motorola-sysv) frags="${frags} delta.mt" ;; esac