current status of v3
Levente Farkas
lfarkas@mindmaker.hu
Wed Oct 25 00:43:00 GMT 2000
Phil Edwards wrote:
> > it's the default stdc++ in the gcc cvs tree ?
>
> Eventually.
>
> > and what does it mean ? if I compile gcc than it'll use v3 ?
>
> --enable-libstdcxx-v3
>
> (it's one word! there are no spaces! :-)
this means v3 is NOT the default since without this configure settings
gcc use v2! or am I wrong ?
or what the "Eventually." mean ?
> > what about the new abi ? do I need use --enable-new-gxx-abi ?
>
> Experimental.
>
> > the current stdc++ compile and run without the new abi ?
>
> Probably.
so I don't have to use the --enable-new-gxx-abi ?
or it's better if I use it ?
> > if not why the current cvs not define to use the new abi ?
> > one word answer to each quiestion would be useful for me.
> > thanks.
>
> You'reWelcome.
so the real question (although the above also important:-):
if I would like to compile gcc vith v3 support and would like to get a
working gcc, g++ and stdc++ do I use --enable-new-gxx-abi ?
since jakub's gcc-new-abi.patch contained (it's a bit outdated, but you can
find it) some stuff which is not in the current cvs, so what is the truth?:
-------------------
--- gcc/cp/decl2.c.jj Mon Jul 10 03:43:58 2000
+++ gcc/cp/decl2.c Tue Jul 11 11:56:12 2000
@@ -227,7 +227,7 @@ int warn_ctor_dtor_privacy = 1;
#ifndef DEFAULT_VTABLE_THUNKS
#define DEFAULT_VTABLE_THUNKS 0
#endif
-int flag_vtable_thunks = DEFAULT_VTABLE_THUNKS;
+int flag_vtable_thunks = 1;
/* Nonzero means generate separate instantiation control files and juggle
them at link time. */
@@ -445,7 +445,7 @@ int flag_weak = 1;
/* Nonzero to enable experimental ABI changes. */
-int flag_new_abi;
+int flag_new_abi = 1;
/* Nonzero to use __cxa_atexit, rather than atexit, to register
destructors for local statics and global objects. */
@@ -478,7 +478,7 @@ int flag_short_wchar;
/* Nonzero if squashed mangling is to be performed.
This uses the B and K codes to reference previously seen class types
and class qualifiers. */
-int flag_do_squangling;
+int flag_do_squangling = 1;
/* Nonzero means output .vtable_{entry,inherit} for use in doing vtable gc. */
--- gcc/cp/lang-specs.h.jj Fri Apr 7 17:02:30 2000
+++ gcc/cp/lang-specs.h Tue Jul 11 13:24:15 2000
@@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */
-D__cplusplus\
%{ansi:-trigraphs -D__STRICT_ANSI__}
%{!undef:%{!ansi:%p} %P}\
%{!fno-exceptions:-D__EXCEPTIONS}\
- %{fnew-abi:-D__GXX_ABI_VERSION=100}\
+ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
%c %{Os:-D__OPTIMIZE_SIZE__}
%{O*:%{!O0:-D__OPTIMIZE__}}\
%{ffast-math:-D__FAST_MATH__}\
%{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\
int}\
@@ -74,7 +74,7 @@ Boston, MA 02111-1307, USA. */
-D__GNUC_PATCHLEVEL__=%v3} -D__cplusplus\
%{ansi:-trigraphs -D__STRICT_ANSI__} %{!undef:%{!ansi:%p} %P}\
%{!fno-exceptions:-D__EXCEPTIONS}\
- %{fnew-abi:-D__GXX_ABI_VERSION=100}\
+ %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
%c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} %{trigraphs}\
%{ffast-math:-D__FAST_MATH__}\
%{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
-------------------
-- Levente http://petition.eurolinux.org/index_html
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."
More information about the Libstdc++
mailing list