This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]