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.html
[4]
-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
Actually, some modules in gnulib already use 'environ'. So this requires
handling in gnulib. I'm adding a new module 'environ'.
Eric Blake wrote:
| 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,
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.0
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,
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.10.5.o),
Bruno Haible wrote:
The compile line and warning:
cc -Ae -c lcltimecheck.c -D_REENTRANT
cc: lcltimecheck.c, line 7: warning 604: Pointers are not
assignment-compatible.
Thanks for reporting this.
How about this proposed patch? Does it work for you?
This worked. Thank you.
Peter O'Gorman wrote:
How about this proposed patch? Does it work for you?
This worked.
Paul Eggert wrote:
Yes, that looks good to me
So I committed the patch.
Bruno
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
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
10 matches
Mail list logo