Bug 21549 - Configure options hard to find
Summary: Configure options hard to find
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Keywords: documentation
Depends on:
Reported: 2005-05-13 14:48 UTC by Paolo Carlini
Modified: 2017-11-30 12:23 UTC (History)
4 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2005-12-15 04:52:33


Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Carlini 2005-05-13 14:48:05 UTC
It looks like people often have trouble finding the libstdc++-specific configure
options. It is suggested, very sensibly in my opinion, that the documentation
should be added to http://gcc.gnu.org/install/configure.html, in a specific
section - similarly to Fortran/Java(libgcj) and so on - or, maybe, linked from
there. This idea makes even more sense now that libstdc++-v3 is a integral
part of the GCC project.
Comment 1 Andrew Pinski 2005-05-13 18:01:45 UTC
Confirmed, --with-pic being documented would be very nice even though it is a generic libtool 
configure option, it is most used with libstdc++ as shown by the bug reports about the using static 
libstdc++ in a shared library.
Comment 2 Paolo Carlini 2010-02-05 13:12:35 UTC
Benjamin, any opinion about this issue?
Comment 3 Benjamin Kosnik 2010-02-05 17:40:49 UTC
Would love to see something standardized for all libs in gcc. My preference is to have libstdc++ config docs linked to in gcc docs. (No duplication, just alias.)

One thing that could be done would be to add a "C++ Specific Option" to

And link to 

Or options on that page, don't care.

As an aside, are a lot of these java config opts actually still relevant?

Comment 4 Eric Gallager 2017-08-31 16:57:10 UTC
There's always ./configure --help=recursive from the top level; the "recursive" makes it print the help text from subdirs like libstdc++ too.
Comment 5 Eric Gallager 2017-11-30 12:23:59 UTC
The issue of undocumented configure options also came up in bug 82824, although that was a tangent so I won't add it under "See Also" 

(In reply to Benjamin Kosnik from comment #3)
> As an aside, are a lot of these java config opts actually still relevant?
> -benjamin

No, java has been removed.