diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 15:14:07 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-13 15:14:07 +0000 |
commit | da0884f62925eac0b314507b3d2183e26e7c26b6 (patch) | |
tree | 531ead475ff7a8725c1ecadae9de28aaf975accc /libstdc++-v3/docs/html | |
parent | ac4ededf628466d520f6b6edbf15f14d2c1fe776 (diff) | |
download | gcc-da0884f62925eac0b314507b3d2183e26e7c26b6.tar.gz |
2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15074
* docs/html/faq/index.html: Update docs for libsupc++ usage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81786 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/docs/html')
-rw-r--r-- | libstdc++-v3/docs/html/faq/index.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libstdc++-v3/docs/html/faq/index.html b/libstdc++-v3/docs/html/faq/index.html index 4bfc6d456ed..9a8bbafbb36 100644 --- a/libstdc++-v3/docs/html/faq/index.html +++ b/libstdc++-v3/docs/html/faq/index.html @@ -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 people don't like it, so here are two pseudo-solutions: </p> - <p>If the only functions from libstdc++.a which you need are language - support functions (those listed in - <a href="../18_support/howto.html">clause 18</a> of the standard, - e.g., <code>new</code> and <code>delete</code>), then try linking - against <code>libsupc++.a</code> (usually specifying - <code>-lsupc++</code> when calling g++ for the final link step will - do it). This library contains only those support routines, one per - object file. But if you are using anything from the rest of the - library, such as IOStreams or vectors, then you'll still need - pieces from <code>libstdc++.a</code>. + <p>If the only functions from libstdc++.a which you need are + language support functions (those listed in <a + href="../18_support/howto.html">clause 18</a> of the + standard, e.g., <code>new</code> and <code>delete</code>), + then try linking against <code>libsupc++.a</code> (Using + <code>gcc</code> instead of <code>g++</code> and explicitly + linking in <code>-lsupc++</code> for the final link step will + do it). This library contains only those support routines, + one per object file. But if you are using anything from the + rest of the library, such as IOStreams or vectors, then + you'll still need pieces from <code>libstdc++.a</code>. </p> <p>The second method is one we hope to incorporate into the library build process. Some platforms can place each function and variable |