This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA/PATCH] Darwin fixes for ltconfig, ltcf-c.sh
- From: Klee Dienes <klee at apple dot com>
- To: binutils at sources dot redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 13 Nov 2002 11:55:09 -0500
- Subject: [RFA/PATCH] Darwin fixes for ltconfig, ltcf-c.sh
The enclosed patch fixes the Darwin support in the top-level libtool
support files of the binutils and GDB source repository. For the most
part it just adds more Darwin-specific config blocks to ltconfig and
ltcf-c.sh, and fixes a couple of nits in the existing Darwin support.
The only non-Darwin-specific patch is the change to default
CONFIG_SHELL to /bin/sh in ltconfig ... this prevents ltconfig from
silently setting max_cmd_len to "none" if CONFIG_SHELL is not passed to
ltconfig.
2002-11-12 Klee Dienes <kdienes@apple.com>
* ltconfig: Default CONFIG_SHELL to /bin/sh if no value is
passed in
by the environment. Recognize "macos10" as specifying a
Darwin-based system. Remove extra '$' in library_names_spec
for the
Darwin configuration.
* ltcf-c.sh: Move the Darwin config-block from the
"$with_gnu_ld =
yes" section to the "$with_gnu_ld = no" section (Darwin doesn't
use
GNU ld as it's linker). Use ac_cv_prog_cc_pic to set pic
flags, not
lt_cv_prog_cc_pic. Add a Darwin block for pic flags when using
GCC
as well as when using the system compiler. Recognize "macos10"
as
specifying a Darwin-based system in all clauses.
Attachment:
ltconfig.txt
Description: Text document