configopts.html, [...]: Add DOCTYPEs.
2002-10-07 Jonathan Wakely <jw@kayari.org>
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
From-SVN: r57903
2002-10-08 02:11:23 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE html
|
|
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2001-09-18 07:24:40 +08:00
|
|
|
<head>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<meta name="AUTHOR" content="pme@gcc.gnu.org (Phil Edwards)" />
|
|
|
|
<meta name="KEYWORDS" content="libstdc++, libstdc++-v3, GCC, g++" />
|
|
|
|
<meta name="DESCRIPTION" content="README for the GNU libstdc++ effort." />
|
|
|
|
<meta name="GENERATOR" content="vi and eight fingers" />
|
2001-09-18 07:24:40 +08:00
|
|
|
<title>libstdc++-v3 Installation Instructions</title>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<link rel="StyleSheet" href="lib3styles.css" />
|
2001-09-18 07:24:40 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2003-05-21 06:25:09 +08:00
|
|
|
<h1 class="centered"><a name="top">Getting started: configure, build, install</a></h1>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2003-03-14 02:26:23 +08:00
|
|
|
<p class="fineprint"><em>
|
|
|
|
The latest version of this document is always available at
|
2001-09-18 07:24:40 +08:00
|
|
|
<a href="http://gcc.gnu.org/onlinedocs/libstdc++/install.html">
|
|
|
|
http://gcc.gnu.org/onlinedocs/libstdc++/install.html</a>.
|
2003-03-14 02:26:23 +08:00
|
|
|
</em></p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2003-03-14 02:26:23 +08:00
|
|
|
<p><em>
|
|
|
|
To the <a href="http://gcc.gnu.org/libstdc++/">libstdc++-v3 homepage</a>.
|
|
|
|
</em></p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ####################################################### -->
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>Contents</h2>
|
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li><a href="#prereqs">Tools you will need beforehand</a></li>
|
|
|
|
<li><a href="#srcsetup">Setting up the source directories</a></li>
|
|
|
|
<li><a href="#config">Configuring</a></li>
|
|
|
|
<li><a href="#install">Building and installing the library</a></li>
|
|
|
|
<li><a href="#postinstall">Post-installation</a></li>
|
|
|
|
<li><a href="#usage">Using the library</a></li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
<!-- ####################################################### -->
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="prereqs">Tools you will need beforehand</a></h2>
|
|
|
|
<p>You will need a recent version of g++ to compile the snapshot of
|
2001-05-31 05:55:05 +08:00
|
|
|
libstdc++, such as one of the GCC 3.x snapshots (insert standard
|
2001-12-20 05:36:33 +08:00
|
|
|
caveat about using snapshots rather than formal releases). You will
|
|
|
|
need the full source distribution to whatever compiler release you are
|
|
|
|
using. The GCC snapshots can be had from one of the sites on their
|
|
|
|
<a href="http://gcc.gnu.org/mirrors.html">mirror list</a>. If you are
|
|
|
|
using a 2.x compiler, see
|
|
|
|
<a href="http://gcc.gnu.org/libstdc++/status.html">the status page</a>
|
|
|
|
first.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2000-08-02 02:07:23 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>In addition, if you plan to modify the makefiles or regenerate the
|
2001-05-31 05:55:05 +08:00
|
|
|
configure scripts you'll need recent versions of the GNU Autotools:
|
2003-08-05 09:20:15 +08:00
|
|
|
autoconf (version 2.57 or later) and
|
|
|
|
automake (version 1.7.6 or later),
|
|
|
|
in order to rebuild the files. Libtool is built from special sources
|
|
|
|
in the GCC source tree.
|
2001-05-31 05:55:05 +08:00
|
|
|
These tools are all required to be installed in the same location
|
|
|
|
(most linux distributions install these tools by default, so no
|
|
|
|
worries as long as the versions are correct).
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2000-08-02 02:07:23 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>To test your build, you will need either DejaGNU 1.4 (to run
|
|
|
|
<code>'make check'</code> like
|
|
|
|
<a href="http://gcc.gnu.org/install/test.html">the rest of GCC</a>),
|
|
|
|
or Bash 2.x (to run <code>'make check-script'</code>).
|
|
|
|
</p>
|
2000-06-20 06:20:15 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>As of June 19, 2000, libstdc++ attempts to use tricky and
|
2000-07-12 05:45:08 +08:00
|
|
|
space-saving features of the GNU toolchain, enabled with
|
2002-05-13 21:58:00 +08:00
|
|
|
<code>-ffunction-sections -fdata-sections
|
|
|
|
-Wl,--gc-sections</code>. To obtain maximum benefit from this,
|
|
|
|
binutils after this date should also be used (bugs were fixed
|
|
|
|
with C++ exception handling related to this change in
|
|
|
|
libstdc++-v3). The version of these tools should be
|
|
|
|
<code>2.10.90</code>, or later, and you can get snapshots (as
|
2002-07-02 14:17:36 +08:00
|
|
|
well as releases) of binutils
|
2002-05-13 21:58:00 +08:00
|
|
|
<a href="ftp://sources.redhat.com/pub/binutils">here</a>. The
|
|
|
|
configure process will automatically detect and use these
|
|
|
|
features if the underlying support is present.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2002-04-02 05:56:42 +08:00
|
|
|
|
|
|
|
<p>If you are using a 3.1-series libstdc++ snapshot, then the
|
2002-05-13 21:58:00 +08:00
|
|
|
requirements are slightly more stringent: the compiler sources
|
|
|
|
must also be 3.1 or later (for both technical and licensing
|
|
|
|
reasons), and your binutils must be 2.11.95 or later if you want
|
|
|
|
to use symbol versioning in shared libraries. Again, the
|
|
|
|
configure process will automatically detect and use these
|
|
|
|
features if the underlying support is present.
|
2002-04-02 05:56:42 +08:00
|
|
|
</p>
|
2002-07-02 14:17:36 +08:00
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<p>Finally, a few system-specific requirements: </p>
|
|
|
|
<dl>
|
2002-08-20 08:44:19 +08:00
|
|
|
<dt> linux </dt>
|
|
|
|
|
2002-09-10 04:26:42 +08:00
|
|
|
<dd>If gcc 3.1.0 or later on is being used on linux, an attempt
|
|
|
|
will be made to use "C" library functionality necessary for C++
|
2003-02-04 00:44:44 +08:00
|
|
|
named locale support. For gcc 3.2.1 and later, this means that
|
|
|
|
glibc 2.2.5 or later is required.
|
2002-09-10 04:26:42 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
The configure option --enable-clocale can be used force a
|
|
|
|
particular behavior.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
If the 'gnu' locale model is being used, the following locales
|
2003-04-10 13:31:39 +08:00
|
|
|
are used and tested in the libstdc++ testsuites. The first column
|
|
|
|
is the name of the locale, the second is the character set it is
|
|
|
|
expected to use.
|
|
|
|
</p>
|
|
|
|
<pre>
|
|
|
|
de_DE ISO-8859-1
|
|
|
|
de_DE@euro ISO-8859-15
|
|
|
|
en_HK ISO-8859-1
|
|
|
|
en_PH ISO-8859-1
|
|
|
|
en_US ISO-8859-1
|
|
|
|
en_US.ISO-8859-1 ISO-8859-1
|
|
|
|
en_US.ISO-8859-15 ISO-8859-15
|
|
|
|
en_US.UTF-8 UTF-8
|
|
|
|
es_MX ISO-8859-1
|
|
|
|
fr_FR ISO-8859-1
|
|
|
|
fr_FR@euro ISO-8859-15
|
|
|
|
it_IT ISO-8859-1
|
|
|
|
ja_JP.eucjp EUC-JP
|
|
|
|
se_NO.UTF-8 UTF-8
|
|
|
|
</pre>
|
|
|
|
<p>Failure to have the underlying "C" library locale
|
2002-09-10 04:26:42 +08:00
|
|
|
information installed will mean that C++ named locales for the
|
|
|
|
above regions will not work: because of this, the libstdc++
|
|
|
|
testsuite will not pass the named locale tests. If this isn't an
|
|
|
|
issue, don't worry about it. If named locales are needed, the
|
|
|
|
underlying locale information must be installed. Note that
|
|
|
|
rebuilding libstdc++ after the "C" locales are installed is not
|
|
|
|
necessary.
|
|
|
|
</p>
|
2002-08-20 08:44:19 +08:00
|
|
|
|
2003-04-10 13:31:39 +08:00
|
|
|
<p>To install support for locales, do only one of the following:
|
|
|
|
</p>
|
|
|
|
|
2002-08-20 08:44:19 +08:00
|
|
|
<ul>
|
|
|
|
<li> install all locales
|
2003-04-10 13:31:39 +08:00
|
|
|
<ul>
|
|
|
|
<li>with RedHat Linux:
|
2002-08-20 08:44:19 +08:00
|
|
|
<p> <code> export LC_ALL=C </code> </p>
|
|
|
|
<p> <code> rpm -e glibc-common --nodeps </code> </p>
|
|
|
|
<p> <code> rpm -i --define "_install_langs all"
|
|
|
|
glibc-common-2.2.5-34.i386.rpm </code> </p>
|
2003-04-10 13:31:39 +08:00
|
|
|
</li>
|
|
|
|
<li> (instructions for other operating systems solicited) </li>
|
|
|
|
</ul>
|
2002-08-20 08:44:19 +08:00
|
|
|
</li>
|
|
|
|
<li> install just the necessary locales
|
2003-04-10 13:31:39 +08:00
|
|
|
<ul>
|
|
|
|
<li>with Debian Linux:
|
|
|
|
<p> Add the above list, as shown, to the file
|
|
|
|
<code>/etc/locale.gen</code> </p>
|
|
|
|
<p> run <code>/usr/sbin/locale-gen</code> </p>
|
|
|
|
</li>
|
|
|
|
<li> on most Unix-like operating systems:
|
2002-08-20 08:44:19 +08:00
|
|
|
<p> <code> localedef -i de_DE -f ISO-8859-1 de_DE </code> </p>
|
2003-04-10 13:31:39 +08:00
|
|
|
<p> (repeat for each entry in the above list) </p>
|
|
|
|
</li>
|
|
|
|
<li> (instructions for other operating systems solicited) </li>
|
|
|
|
</ul>
|
2002-08-20 08:44:19 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</dl>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="srcsetup">Setting up the source directories</a></h2>
|
|
|
|
<p>The following definitions will be used throughout the rest of this
|
2000-04-22 04:33:34 +08:00
|
|
|
document:
|
2002-08-20 08:44:19 +08:00
|
|
|
</p>
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
|
|
|
<li><em>gccsrcdir</em>: The directory holding the source of the
|
2000-04-22 04:33:34 +08:00
|
|
|
compiler. It should have several subdirectories like
|
2002-07-02 14:17:36 +08:00
|
|
|
<em>gccsrcdir</em>/libiberty and <em>gccsrcdir</em>/gcc.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li><em>libsrcdir</em>: The directory holding the source of the
|
2000-04-22 04:33:34 +08:00
|
|
|
C++ library.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li><em>gccbuilddir</em>: The build directory for the compiler
|
|
|
|
in <em>gccsrcdir</em>. GCC requires that it be built in
|
2000-04-22 04:33:34 +08:00
|
|
|
a different directory than its sources.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li><em>libbuilddir</em>: The build directory for libstdc++.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li><em>destdir</em>: The eventual installation directory for
|
2000-04-22 04:33:34 +08:00
|
|
|
the compiler/libraries, set with the --prefix option to
|
|
|
|
the configure script.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
2002-08-20 08:44:19 +08:00
|
|
|
<p> Note: </p>
|
2001-09-18 07:24:40 +08:00
|
|
|
<ol>
|
|
|
|
<li>The 3.0 version and following are intended to replace the
|
|
|
|
library that comes with the compiler, so <em>libsrcdir</em>
|
|
|
|
and <em>libbuilddir</em> must be contained under
|
|
|
|
<em>gccsrcdir</em> and <em>gccbuilddir</em>, respectively.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li>The source, build, and installation directories should
|
2000-04-22 04:33:34 +08:00
|
|
|
not be parents of one another; i.e., these should all be
|
|
|
|
separate directories. Please don't build out of the
|
|
|
|
source directory.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ol>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2001-12-20 05:36:33 +08:00
|
|
|
<p>Check out or download the GCC sources: the resulting source directory
|
|
|
|
(<code>gcc</code> or <code>gcc-3.0.3</code>, for example) is
|
|
|
|
<em>gccsrcdir</em>.
|
2001-09-18 07:24:40 +08:00
|
|
|
Once in <em>gccsrcdir</em>, you'll need to rename or delete the
|
2001-05-31 05:55:05 +08:00
|
|
|
libstdc++-v3 directory which comes with that snapshot:
|
2002-08-20 08:44:19 +08:00
|
|
|
</p>
|
|
|
|
<pre>
|
2001-09-18 07:24:40 +08:00
|
|
|
mv libstdc++-v3 libstdc++-v3-previous <strong>[OR]</strong>
|
2001-10-10 04:18:14 +08:00
|
|
|
rm -r libstdc++-v3</pre>
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>Next, unpack the libstdc++-v3 library tarball into this
|
|
|
|
<em>gccsrcdir</em> directory; it will create a
|
|
|
|
<em>libsrcdir</em> called <code>libstdc++-<em>version</em></code>:
|
|
|
|
</p>
|
2002-08-20 08:44:19 +08:00
|
|
|
<pre>
|
|
|
|
gzip -dc libstdc++-version.tar.gz | tar xf -</pre>
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>Finally, rename <em>libsrcdir</em> to <code>libstdc++-v3</code> so that
|
2001-05-31 05:55:05 +08:00
|
|
|
gcc's configure flags will be able to deal with the new library.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2002-08-20 08:44:19 +08:00
|
|
|
<pre>
|
|
|
|
mv <em>libsrcdir</em> libstdc++-v3</pre>
|
2001-09-18 07:24:40 +08:00
|
|
|
|
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="config">Configuring</a></h2>
|
|
|
|
<p>If you have never done this before, you should read the basic
|
|
|
|
<a href="http://gcc.gnu.org/install/">GCC Installation
|
2002-04-02 05:56:42 +08:00
|
|
|
Instructions</a> first. Read <em>all of them</em>.
|
|
|
|
<strong>Twice.</strong>
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
|
|
|
<p>When building libstdc++-v3 you'll have to configure
|
|
|
|
the entire <em>gccsrcdir</em> directory. The full list of libstdc++-v3
|
2000-07-12 05:45:08 +08:00
|
|
|
specific configuration options, not dependent on the specific compiler
|
2001-09-18 07:24:40 +08:00
|
|
|
release being used, can be found <a href="configopts.html">here</a>.
|
|
|
|
</p>
|
|
|
|
<p>Consider possibly using --enable-languages=c++ to save time by only
|
2000-07-12 05:45:08 +08:00
|
|
|
building the C++ language parts.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2000-07-12 05:45:08 +08:00
|
|
|
|
2002-08-20 08:44:19 +08:00
|
|
|
<pre>
|
2001-09-18 07:24:40 +08:00
|
|
|
cd <em>gccbuilddir</em>
|
2001-10-10 04:18:14 +08:00
|
|
|
<em>gccsrcdir</em>/configure --prefix=<em>destdir</em> --other-opts...</pre>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="install">Building and installing the library</a></h2>
|
|
|
|
<p>Now you have a few options:</p>
|
|
|
|
<h3>[re]building <em>everything</em></h3>
|
|
|
|
<p>If you're building GCC from scratch, you can do the usual
|
|
|
|
<code> 'make bootstrap' </code> here, and libstdc++-v3 will be built
|
2000-04-22 04:33:34 +08:00
|
|
|
as its default C++ library. The generated g++ will magically
|
|
|
|
use the correct headers, link against the correct library
|
|
|
|
binary, and in general using libstdc++-v3 will be a piece of
|
2001-09-18 07:24:40 +08:00
|
|
|
cake. You're done; run <code>'make install'</code> (see the GCC
|
2001-01-21 17:36:09 +08:00
|
|
|
installation instructions) to put the new compiler and libraries
|
2000-04-22 04:33:34 +08:00
|
|
|
into place.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h3>[re]building only libstdc++</h3>
|
2002-08-20 08:44:19 +08:00
|
|
|
<p>To rebuild just libstdc++, use: </p>
|
|
|
|
<pre>
|
2002-07-02 14:17:36 +08:00
|
|
|
make all-target-libstdc++-v3</pre>
|
2002-08-20 08:44:19 +08:00
|
|
|
<p>
|
2000-04-22 04:33:34 +08:00
|
|
|
This will configure and build the C++ library in the
|
2001-09-18 07:24:40 +08:00
|
|
|
<em>gccbuilddir/cpu-vendor-os/</em>libstdc++ directory.
|
|
|
|
</p>
|
|
|
|
<p>If you are rebuilding from a previous build [attempt], some
|
2000-07-27 05:30:45 +08:00
|
|
|
information is kept in a cache file. This is stored in
|
2001-09-18 07:24:40 +08:00
|
|
|
<em>gccbuilddir/cpu-vendor-os/</em> if you are building with
|
2000-07-27 05:30:45 +08:00
|
|
|
multilibs (the default), or in
|
2001-09-18 07:24:40 +08:00
|
|
|
<em>gccbuilddir/cpu-vendor-os/</em>libstdc++-v3 if you have
|
2000-07-27 05:30:45 +08:00
|
|
|
multilibs disabled. The filename is config.cache; if previous
|
|
|
|
information is causing problems, you can delete it entirely, or
|
|
|
|
simply edit it and remove lines.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2002-08-20 08:44:19 +08:00
|
|
|
<p>You're done. Now install the rebuilt pieces with</p>
|
|
|
|
<pre>
|
2001-10-10 04:18:14 +08:00
|
|
|
make install</pre>
|
2002-08-20 08:44:19 +08:00
|
|
|
<p>or</p>
|
|
|
|
<pre>
|
2000-04-22 04:33:34 +08:00
|
|
|
make install-gcc
|
2001-10-10 04:18:14 +08:00
|
|
|
make install-target-libstdc++-v3</pre>
|
2000-07-12 05:45:08 +08:00
|
|
|
|
2000-04-22 04:33:34 +08:00
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="postinstall">Post-installation</a></h2>
|
|
|
|
<p>Installation will create the <em>destdir</em> directory and
|
2000-04-22 04:33:34 +08:00
|
|
|
populate it with subdirectories:
|
2002-08-20 08:44:19 +08:00
|
|
|
</p>
|
|
|
|
<pre>
|
2000-04-22 04:33:34 +08:00
|
|
|
lib/
|
2002-09-10 04:26:42 +08:00
|
|
|
include/c++/<em>gcc-version</em>
|
2001-05-31 05:55:05 +08:00
|
|
|
backward/
|
2000-04-22 04:33:34 +08:00
|
|
|
bits/
|
2001-09-18 07:24:40 +08:00
|
|
|
<em>cpu-vendor-os</em>/bits/
|
2001-10-10 04:18:14 +08:00
|
|
|
ext/</pre>
|
2002-04-02 05:56:42 +08:00
|
|
|
<p>If you used the version-specific-libs configure option, then most of
|
|
|
|
the headers and library files will be moved under
|
|
|
|
<code>lib/gcc-lib/</code> instead.
|
|
|
|
</p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name="usage">Using the library</a></h2>
|
2002-08-20 08:44:19 +08:00
|
|
|
<h3>Find the new library at runtime (shared linking only)</h3>
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>If you only built a static library (libstdc++.a), or if you
|
2000-04-22 04:33:34 +08:00
|
|
|
specified static linking, you don't have to worry about this.
|
|
|
|
But if you built a shared library (libstdc++.so) and linked
|
|
|
|
against it, then you will need to find that library when you
|
|
|
|
run the executable.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
|
|
|
<p>Methods vary for different platforms and different styles, but
|
2000-04-22 04:33:34 +08:00
|
|
|
the usual ones are printed to the screen during installation.
|
|
|
|
They include:
|
2002-08-20 08:44:19 +08:00
|
|
|
</p>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<ul>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li>At runtime set LD_LIBRARY_PATH in your environment correctly,
|
2000-04-22 04:33:34 +08:00
|
|
|
so that the shared library for libstdc++ can be found and
|
|
|
|
loaded. Be certain that you understand all of the other
|
|
|
|
implications and behavior of LD_LIBRARY_PATH first (few
|
|
|
|
people do, and they get into trouble).
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li>Compile the path to find the library at runtime into the
|
2000-04-22 04:33:34 +08:00
|
|
|
program. This can be done by passing certain options to g++,
|
|
|
|
which will in turn pass them on to the linker. The exact
|
|
|
|
format of the options is dependent on which linker you use:
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li>GNU ld (default on Linux):<code> -Wl,--rpath,<em>destdir</em>/lib</code></li>
|
|
|
|
<li>IRIX ld:<code> -Wl,-rpath,<em>destdir</em>/lib</code></li>
|
|
|
|
<li>Solaris ld:<code> -Wl,-R<em>destdir</em>/lib</code></li>
|
|
|
|
<li>More...? Let us know!</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>Use the <code>ldd(1)</code> utility to show which library the system
|
2000-04-22 04:33:34 +08:00
|
|
|
thinks it will get at runtime.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
|
|
|
<p>A libstdc++.la file is also installed, for use with Libtool. If
|
2001-05-31 05:55:05 +08:00
|
|
|
you use Libtool to create your executables, these details are
|
|
|
|
taken care of for you.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
<!--
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2><a name=""></a></h2>
|
|
|
|
<p>
|
|
|
|
</p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- ####################################################### -->
|
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<hr />
|
2001-10-10 04:18:14 +08:00
|
|
|
<p class="fineprint"><em>
|
2001-10-05 04:03:22 +08:00
|
|
|
See <a href="17_intro/license.html">license.html</a> for copying conditions.
|
2000-04-22 04:33:34 +08:00
|
|
|
Comments and suggestions are welcome, and may be sent to
|
2001-10-10 04:18:14 +08:00
|
|
|
<a href="mailto:libstdc++@gcc.gnu.org">the libstdc++ mailing list</a>.
|
2001-09-18 07:24:40 +08:00
|
|
|
</em></p>
|
2000-04-22 04:33:34 +08:00
|
|
|
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
</body>
|
|
|
|
</html>
|
2000-04-22 04:33:34 +08:00
|
|
|
|