[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of -fno-common on Darwin
From: |
Paul Eggert |
Subject: |
Re: use of -fno-common on Darwin |
Date: |
Mon, 09 Jan 2006 14:06:18 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Peter O'Gorman" <address@hidden> writes:
> getprogname(3), if it exists, can be used as well as other
> alternatives (e.g. argv[0]).
Thanks, I wasn't aware of the BSD getprogname until now.
How about this proposal?
* Change the progname module to use the BSD getprogname naming
convention. No sense reinventing the wheel. That way, programs can
simply use the system-defined functions on BSD.
* Rewrite the other gnulib code to use the new convention.
* Ask gnulib users to switch to the new convention.
This approach does not address James Youngman's preference for an
arrangement which results in a compilation or link failure if the user
(i.e. software maintainer) fails to initialise things properly, but I
don't see any easy, nonkludgey way around that, so we'll just have to
bite the bullet.
- Re: use of program_name, (continued)
- Re: use of program_name, Eric Blake, 2006/01/05
- Re: use of program_name, James Youngman, 2006/01/06
- Re: use of program_name, James Youngman, 2006/01/06
- Re: use of program_name, Karl Berry, 2006/01/06
- Re: use of program_name, Paul Eggert, 2006/01/06
- Re: use of program_name, Sergey Poznyakoff, 2006/01/06
- Re: use of program_name, Dave Love, 2006/01/06
- Re: [bug-gnulib] Re: use of program_name, Bruno Haible, 2006/01/09
- use of -fno-common on Darwin (was: use of program_name), Ralf Wildenhues, 2006/01/09
- Re: use of -fno-common on Darwin, Peter O'Gorman, 2006/01/09
- Re: use of -fno-common on Darwin,
Paul Eggert <=
- Re: use of -fno-common on Darwin, Bob Friesenhahn, 2006/01/10
- Re: use of -fno-common on Darwin, Bruno Haible, 2006/01/10
- Re: use of -fno-common on Darwin, Peter O'Gorman, 2006/01/10
- Re: getprogname, Bruno Haible, 2006/01/10
- Re: getprogname, Paul Eggert, 2006/01/10
- Re: getprogname, Bruno Haible, 2006/01/10
- Re: getprogname, Paul Eggert, 2006/01/11
- Re: use of -fno-common on Darwin, James Youngman, 2006/01/10
- Re: getprogname, Bruno Haible, 2006/01/11
- Re: getprogname, Paul Eggert, 2006/01/11