Commit 4b351c6e by Benjamin Kosnik Committed by Benjamin Kosnik

re PR libstdc++/15074 (g++ -lsupc++ still links against libstdc++)


2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/15074
	* docs/html/faq/index.html: Update docs for libsupc++ usage.

From-SVN: r81786
parent 5c61a863
2004-05-13 Benjamin Kosnik <bkoz@redhat.com> 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15074
* docs/html/faq/index.html: Update docs for libsupc++ usage.
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15412 PR libstdc++/15412
* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
__gnu_internal. __gnu_internal.
......
...@@ -395,16 +395,17 @@ which is no longer available, thanks deja...--> ...@@ -395,16 +395,17 @@ which is no longer available, thanks deja...-->
<p>It's not a bug, and it's not really a problem. Nevertheless, some <p>It's not a bug, and it's not really a problem. Nevertheless, some
people don't like it, so here are two pseudo-solutions: people don't like it, so here are two pseudo-solutions:
</p> </p>
<p>If the only functions from libstdc++.a which you need are language <p>If the only functions from libstdc++.a which you need are
support functions (those listed in language support functions (those listed in <a
<a href="../18_support/howto.html">clause 18</a> of the standard, href="../18_support/howto.html">clause 18</a> of the
e.g., <code>new</code> and <code>delete</code>), then try linking standard, e.g., <code>new</code> and <code>delete</code>),
against <code>libsupc++.a</code> (usually specifying then try linking against <code>libsupc++.a</code> (Using
<code>-lsupc++</code> when calling g++ for the final link step will <code>gcc</code> instead of <code>g++</code> and explicitly
do it). This library contains only those support routines, one per linking in <code>-lsupc++</code> for the final link step will
object file. But if you are using anything from the rest of the do it). This library contains only those support routines,
library, such as IOStreams or vectors, then you'll still need one per object file. But if you are using anything from the
pieces from <code>libstdc++.a</code>. rest of the library, such as IOStreams or vectors, then
you'll still need pieces from <code>libstdc++.a</code>.
</p> </p>
<p>The second method is one we hope to incorporate into the library <p>The second method is one we hope to incorporate into the library
build process. Some platforms can place each function and variable build process. Some platforms can place each function and variable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment