libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 2-0-lib-as-archiver.patch


From: Peter O'Gorman
Subject: Re: libtool 2-0-lib-as-archiver.patch
Date: Tue, 26 Jul 2005 23:55:23 +0900
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Ekberg wrote:
| Hi!
|
| 2005-07-21  Peter Ekberg  <address@hidden>
|
|       * Makefile.am: Export user selection of archiver to the
|       testsuite.
|       * config/ltmain.m4sh (func_extract_an_archive): Handle case
|       where the archiver must extract members one by one.
|       * m4/libtool.m4 (_LT_PROG_AR): New function that looks for
|       Microsoft lib.exe and Microsoft link.exe after failing to find
|       ar. Then checks what interface the archiver expects.
|       (_LT_CMD_OLD_ARCHIVE): Make use of _LT_PROG_AR.
|       (_LT_CMD_OLD_ARCHIVE, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
|       Support archivers that do not like a space between $AR_FLAGS
|       and the library name.

Thanks for pointing me to Ralf's comments on this. If I may make a suggestion:

Have a shell function in ltmain.m4sh that takes all the usual ar arguments
and feeds them to lib.exe appropriately. Just wrap lib.exe in an ar like
interface. In libtool.m4 substitute an lt_AR=ar or lt_AR=func_win_ar
depending on the result of checks and always use lt_AR in ltmain.

Is this too much trouble? It would avoid trouble with the separator etc. and
using lt_AR would be internal to libtool.

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQuZO2riDAg3OZTLPAQKHfQP/SPEYzL1XyW/v+d/9FX7uwryCKISlEz89
55FttFEkgj+zBlDdRTTZM1V0arAr5rkx1GPt9JYPeUKGnDhzXATERj1XZ2pqNRYh
F537OcdAuf16uXCNrDCaaCDlM47FH36YgRgy/gNuTQjD/9heZ7ij75LC0KbU6bbb
NH+bpWuoS+c=
=HbJi
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]