This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch to check ld
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: patch to check ld
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 26 Jul 2000 21:36:10 +0200
- Cc: libstdc++ at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.SOL.3.91.1000726122335.383B-100000@cse.cygnus.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
| > Shouldn't that go into the specs? That seems to me to be the right
| > place to do that sort of black magic instead of requiring users to
| > manually play with that tricky flag, IMHO.
|
| The precedent has already been set with -Wl,--gc-sections and such.
|
| In effect, libstdc++-v3 is setting linker flags that it notices are
| available, and activating them if they are helpful or advantageous for
| c++ libraries.
|
| IMHO, these flags should be the default in the linker itself, but they are
| currently not.
I'm glad to see we agree on this. We need opinions from the linker
experts on gcc.
Jeff, Mark?
-- Gaby