This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: weak for Darwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]