gcc/libstdc++-v3
Benjamin Kosnik ac6d1200be re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++)
2012-09-18  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/28811
        PR libstdc++/54482
        * configure.ac (glibcxx_lt_pic_flag,
          glibcxx_compiler_pic_flag,
          glibcxx_compiler_shared_flag): New. Use them.
        (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
        (pic_mode): Set to default.
        (PIC_CXXFLAGS): Remove.
        * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
        * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
          glibcxx_compiler_shared_flag. Comment.
        * src/c++11/Makefile.am: Same.
        * src/c++98/Makefile.am: Same.
        * src/Makefile.am: Use glibcxx_compiler_pic_flag.

        * Makefile.in: Regenerated.
        * aclocal.m4: Same.
        * configure: Same.
        * doc/Makefile.in: Same.
        * include/Makefile.in: Same.
        * libsupc++/Makefile.in: Same.
        * po/Makefile.in: Same.
        * python/Makefile.in: Same.
        * src/Makefile.in: Same.
        * src/c++11/Makefile.in: Same.
        * src/c++98/Makefile.in: Same.
        * testsuite/Makefile.in: Same.

        * src/c++11/compatibility-atomic-c++0x.cc: Use
          _GLIBCXX_SHARED instead of PIC to designate shared-only
          code blocks.
        * src/c++11/compatibility-c++0x.cc: Same.
        * src/c++11/compatibility-thread-c++0x.cc: Same.
        * src/c++98/compatibility-list-2.cc: Same.
        * src/c++98/compatibility.cc: : Same.

        * testsuite/17_intro/shared_with_static_deps.cc: New.

        * doc/xml/manual/build_hacking.xml: Separate configure from
        make/build issues, add build details.

From-SVN: r191509
2012-09-20 02:10:22 +00:00
..
config re PR libstdc++/54612 (Many failures in ext/random testsuite) 2012-09-18 14:02:20 +00:00
doc re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
include re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
libsupc++ re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
po re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
python re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
scripts testsuite_flags.in (cxxflags): Remove -ftrack-macro-expansion=0. 2012-05-03 20:23:42 +00:00
src re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
testsuite re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
ChangeLog re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
ChangeLog-1998 Move entries for 1998 and 1999 out of ChangeLog-2000 and into new 2005-05-24 23:20:39 +00:00
ChangeLog-1999 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2000 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2001
ChangeLog-2002 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2003 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2004 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2005 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2006 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2007 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2008 2009-04-13 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-13 14:41:54 +00:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 Roll ChangeLog file, move 2012 entries in the new ChangeLog. 2012-01-05 20:49:15 +00:00
Makefile.am re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
Makefile.in re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
README mainpage.html: Add in corrected links. 2008-02-12 02:10:57 +00:00
acinclude.m4 Clear hardware capabilities on libstdc++.so with Sun as 2012-09-12 12:38:15 +00:00
aclocal.m4 re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
config.h.in re PR libstdc++/43852 (Embedded systems friendly libstdc++) 2012-09-10 00:08:48 +01:00
configure re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
configure.ac re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
configure.host configure.ac: Substitute CPU_OPT_EXT_RANDOM. 2012-09-17 13:02:39 +00:00
crossconfig.m4 crossconfig.m4: Since we know that all TPF builds are cross- builds and cannot run... 2012-05-02 15:34:31 -04:00
fragment.am Clear hardware capabilities on libstdc++.so with Sun as 2012-09-12 12:38:15 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.