This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: weak for Darwin
- From: Phil Edwards <phil at codesourcery dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 26 Oct 2004 23:01:57 -0400
- Subject: Re: weak for Darwin
- References: <20041026060731.4F9AE1B4B330@geoffk5.apple.com>
- Reply-to: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
On Mon, Oct 25, 2004 at 11:07:31PM -0700, Geoffrey Keating wrote:
> Index: libstdc++-v3/configure.host
> ===================================================================
> RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.host,v
> retrieving revision 1.30
> diff -u -p -u -p -r1.30 configure.host
> --- libstdc++-v3/configure.host 5 Oct 2004 13:45:36 -0000 1.30
> +++ libstdc++-v3/configure.host 26 Oct 2004 00:27:13 -0000
> @@ -172,6 +172,13 @@ case "${host_os}" in
> cygwin*)
> os_include_dir="os/newlib"
> ;;
> + darwin*)
> + # On Darwin, performance is improved if libstdc++ is single-module.
> + # Up to at least 10.3.5, -flat_namespace is required for proper
> + # treatment of coalesced symbols.
> + OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module -Wl,-flat_namespace"
> + os_include_dir="os/generic"
> + ;;
> *djgpp*) # leading * picks up "msdosdjgpp"
> os_include_dir="os/djgpp"
> ;;
This change was not mentioned in the ChangeLog entry. Please go back and
add something.
--
Behind everything some further thing is found, forever; thus the tree behind
the bird, stone beneath soil, the sun behind Urth. Behind our efforts, let
there be found our efforts.
- Ascian saying, as related by Loyal to the Group of Seventeen