This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libiberty] Fix PR63758 by using the _NSGetEnviron() API on Darwin.
- From: Ian Lance Taylor <iant at google dot com>
- To: Iain Sandoe <iain at codesourcery dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, roland at gnu dot org, Ian Lance Taylor <ian at airs dot com>
- Date: Tue, 8 Sep 2015 07:00:40 -0700
- Subject: Re: [PATCH, libiberty] Fix PR63758 by using the _NSGetEnviron() API on Darwin.
- Authentication-results: sourceware.org; auth=none
- References: <37D7634D-114B-4D35-91E4-5E5237FA487D at codesourcery dot com>
On Mon, Sep 7, 2015 at 8:23 AM, Iain Sandoe <iain@codesourcery.com> wrote:
>
> include/
>
> Roland McGrath <roland@gnu.org>
>
> PR other/63758
> * environ.h: New file.
>
> libiberty/
>
> Roland McGrath <roland@gnu.org>
> Iain Sandoe <iain@codesourcery.com>
>
> PR other/63758
> * pex-unix.c: Obtain the environment interface from settings in environ.h
> rather than in-line code. Update copyright date.
> * setenv.c: Likewise.
> * xmalloc.c: Likewise.
This seems likely to break cross-compilers to Darwin that do not have
the system libraries available. I guess I don't care about that if
you don't.
This is OK for mainline. Thanks.
Ian