Re: environ on MacOS X

2008-02-24 Thread Peter O'Gorman
Bruno Haible wrote: > Peter O'Gorman wrote: >> glibtool --mode=link gcc -o libfoo.la fooshared.lo > > And does the executable that you create by linking against this library > work on MacOS X 10.5? It works on 10.3. Yes, it works. Thank you, Peter -- Peter O'Gorman http://pogma.com

Re: environ on MacOS X

2008-02-24 Thread Bruno Haible
Peter O'Gorman wrote: > glibtool --mode=link gcc -o libfoo.la fooshared.lo And does the executable that you create by linking against this library work on MacOS X 10.5? It works on 10.3. Bruno

Re: environ on MacOS X

2008-02-24 Thread Peter O'Gorman
Bruno Haible wrote: > Peter O'Gorman wrote: >> crt_externs.h and _NSGetEnviron works on all released versions of Mac OS X. > > Thanks for this info. I'm updating the doc (see below). > >> The environ symbol is available to every application, it is in the c >> startup object crt1.o (on 10.5 crt1.1

Re: environ on MacOS X

2008-02-24 Thread Bruno Haible
Peter O'Gorman wrote: > crt_externs.h and _NSGetEnviron works on all released versions of Mac OS X. Thanks for this info. I'm updating the doc (see below). > The environ symbol is available to every application, it is in the c > startup object crt1.o (on 10.5 crt1.10.5.o), but the static linker,

Re: environ on MacOS X

2008-02-24 Thread Peter O'Gorman
Bruno Haible wrote: > > 2008-02-24 Bruno Haible <[EMAIL PROTECTED]> > > * doc/posix-functions/environ.texi: Document the MacOS X problem. > > *** doc/posix-functions/environ.texi.orig 2008-02-24 15:26:50.0 > +0100 > --- doc/posix-functions/environ.texi 2008-02-24 15:25:16.

Re: environ on MacOS X

2008-02-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 2/24/2008 7:30 AM: | This variable is missing on some platforms: | MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, IRIX 6.5, OSF/1 5.1, Cygwin. Actually, cygwin has environ. - -- Don't work too hard, make some ti

environ on MacOS X

2008-02-24 Thread Bruno Haible
Hi, I'm adding a bit of doc about 'environ' on MacOS X. References: [1] http://wiki.finkproject.org/index.php/Fink:Porting_Notes [2] http://lists.apple.com/archives/Unix-porting/2005/Sep/msg00062.html [3] http://lists.apple.com/archives/Java-dev/2007/Dec/msg00096