I've updated cygwin's libtool packages, using git master at 2009-02-16 21:59:34 +0100 from git revision 9e9ba5e0e2c0b3f33ee44081c5bc3f0b8991aebd ("Do not pass $INSTALL via TESTS_ENVIRONMENT."), plus a sequence of patches.
I'm posting these mostly for Peter's benefit, as I included some (but not all) of his pr-msvc patches -- but had to revise some of them (esp. add-func_to_tool_path) a bit. Peter, you might want to look at 07-pr-add-func_to_tool_path.patch and 08-pr-use-LT_AR-... Also, I found that 08-pr doesn't work standalone; it requires 09-pr-allow-ms-lib-archiver.patch or you get build errors. 01-fix-dlpreopen-with-disable-static.patch 02-refactor-cwrapper-cross-compile-and-add-cygwin.patch 03-document-and-test-cwrapper-macro.patch 04-pr-dumpbin-link-support.patch 05-pr-lib-prefix-for-archive-name-ltdl.patch 06-pr-preload-heed-libname_spec.patch 07-pr-add-func_to_tool_path.patch 08-pr-use-LT_AR-internally-and-convert-filenames-to-host-format.patch 09-pr-allow-ms-lib-archiver.patch Note that 01-, 02-, and 03- have already appeared on this list in the exact form included. The 0x-pr patches...probably not so much, because of ripple effects from the first three, but I'll leave that to Peter to sort out. <g>. While my build was cygwin native (that is, I didn't exercise much of the pr-msvc code), it passed all regressions on both cygwin-1.5 and cygwin-1.7 -- so the pr-patches "do no harm". I'm going to ask (on the cygwin list) for some test reports by folks who routinely use unix->cygwin cross environments, so maybe we'll get a little "in the wild" feedback about 02-refactor-cwrapper-cross-compile-and-add-cygwin.patch. -- Chuck 2008-08-02 Peter Rosin <...> Allow Microsoft lib to be used as the archiver. * libltdl/m4/libtool.m4: Add $AR_SEP between $AR_FLAGS and the archive file name in all $AR commands. (_LT_CMD_OLD_ARCHIVE): Use _LT_PROG_AR to find archiver, not AC_CHECK_TOOL. * libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support for archivers that only supports extracting one member at a time and otherwise adjust to the above libtool.m4 changes. Also, add $AR_SEP to the $AR invocations. * Makefile.am: Pass AR, AR_FLAGS and AR_SEP through to the testsuite. * tests/archive-in-archive.at: Extract archive name from the .la file instead of hardcoding the name, and allow different archivers. 2009-01-26 Peter Rosin <...> Use LT_AR internally and convert archive file to host format * libltdl/m4/libtool.m4 (_LT_PROG_AR): Export LT_AR and LT_ARFLAGS to the libtool script. (_LT_CMD_OLD_ARCHIVE): Make sure they are used. * libltdl/config/ltmain.m4sh (func_mode_ar): Convert the filename of the archive to host format (MSYS fails to convert paths that are prefixed the -out: in arguments). Makes stresstest.at go a bit further on MSYS/MSVC. 2009-01-31 Peter Rosin <...> Add func_to_tool_path. * libltdl/config/ltmain.m4sh (func_to_tool_path): New function. * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): Add libtool variable $to_tool_path_cmd, and AC_SUBST it. * Makefile.am: Ensure to_tool_path_cmd is included in TEST_ENVIRONMENT so that it is passed to (old testsuite) tests. * tests/testsuite.at: Ensure to_tool_path_cmd is passed as a variable setting on the configure line for (new testsuite) tests. 2008-11-24 Peter Rosin <...> Make preloading heed libname_spec. * libltdl/ltdl.c (libprefix): New static variable describing the prefix of static archives. (try_dlopen): Use libprefix. * libltdl/m4/ltdl.m4 (_LTDL_SETUP): Export prefix of static archives to config.h. 2009-01-26 Peter Rosin <...> Add lib prefix to archive name if needed in symbol list. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): When lib prefix is required, add it - if needed - to the module name as well to match what is done to the symbol that is looked up. 2009-01-26 Peter Rosin <...> Don't settle for any dumpbin/link program as name lister. * libltdl/m4/libtool.m4 (LT_PATH_NM): When locating dumpbin or link -dump, check if they appear to really be capable of name listing, in order to eliminate e.g. link from coreutils. This makes the name lister decision fall back on nm as the default if no acceptable candidate is found. * THANKS: Update Reports by Rudolf Leitgeb and Peter Kjellerstedt. 2009-02-17 Charles Wilson <...> Document and test LT_DEBUGWRAPPER cwrapper macro * tests/cwrapper.test: Add new test for -DLT_DEBUGWRAPPER. * doc/libtool.texi [Linking executables]: Mention wrapper executables, in addition to wrapper scripts. Add menu referencing subsection 'Wrapper executables for programs'. [Wrapper executables for programs]: New subsection. Documents cwrapper rationale, command line options, and LT_DEBUGWRAPPER macro. 2009-02-17 Charles Wilson <...> Refactor cwrapper cross-compile support; Add cygwin. * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): New function sets libtool variable $to_host_path_cmd, and employs cache. AC_SUBSTs $to_host_path_cmd, as well. (_LT_SETUP): Require it. * tests/testsuite.at: Ensure to_host_path_cmd is passed as a variable setting on the configure line for (new testsuite) tests. * Makefile.am: Ensure to_host_path_cmd is included in TEST_ENVIRONMENT so that it is passed to (old testsuite) tests. * libltdl/config/ltmain.m4sh (func_cygpath): New function. (func_init_to_host_pathlist_cmd): New function. (func_to_host_path): Refactored to... (now uses eval $to_host_path_cmd). (func_wine_to_win32_path): Here. New function. (func_msys_to_win32): Here. New function. (func_path_convert_check): Here. New function. (func_noop_path_convert): Here. New function. (func_msys_to_mingw_path_convert): Here. New function. (func_cygwin_to_mingw_path_convert): Here. New function. (func_nix_to_mingw_path_convert): Here. New function. (func_msys_to_cygwin_path_convert): New function. (func_nix_to_cygwin_path_convert): New function. (func_to_host_pathlist): Refactored to... (now uses eval $to_host_pathlist_cmd and func_init_to_host_pathlist_cmd). (func_pathlist_convert_check): Here. New function. (func_pathlist_front_back_pathsep): Here. New function. (func_wine_to_win32_pathlist): Here. New function. (func_noop_pathlist_convert): Here. New function. (func_msys_to_mingw_pathlist_convert): Here. New function. (func_cygwin_to_mingw_pathlist_convert): Here. New function. (func_nix_to_mingw_pathlist_convert): Here. New function. (func_msys_to_cygwin_pathlist_convert): New function. (func_nix_to_cygwin_pathlist_convert): New function. 2009-02-17 Charles Wilson <...> [cygwin|mingw] fix dlpreopen with --disable-static * libltdl/config/general.m4sh: Update copyright year. (func_tr_sh): New function. * libltdl/config/ltmain.m4sh (func_generate_dlsyms) [cygwin|mingw]: Obtain DLL name corresponding to import library by using value stored in unique variable libfile_$(transliterated implib name). If that fails, use $sharedlib_from_linklib_cmd to extract DLL name from import library directly. Also, properly extract dlsyms from the import library. (func_mode_link) [cygwin|mingw]: Prefer to dlpreopen DLLs over static libs when both are available. When dlpreopening DLLs, use linklib (that is, import lib) as dlpreopen file, rather than DLL. Store name of associated la file in unique variable libfile_$(transliterated implib name) for later use. (func_win32_libid): Accomodate pei-i386 import libs as well as pe-i386. (func_cygming_dll_for_implib): New function. (func_cygming_dll_for_implib_fallback): New function. (func_cygming_dll_for_implib_fallback_core): New function. (func_cygming_gnu_implib_p): New function. (func_cygming_ms_implib_p): New function. * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Adjust sed expressions for lt_cv_sys_global_symbol_to_c_name_address and lt_cv_sys_global_symbol_to_c_name_address_lib_prefix as trailing space after module name is optional. (_LT_LINKER_SHLIBS) [cygwin|mingw][C++]: Set exclude_expsyms correctly for $host. Simplify regular expression in export_symbols_cmds. (_LT_LINKER_SHLIBS) [cygwin|mingw|pw32][C]: Set exclude_expsyms correctly for $host. Enable export_symbols_cmds to identify DATA exports by _nm_ prefix. (_LT_CHECK_SHAREDLIB_FROM_LINKLIB): New macro sets sharedlib_from_linklib_cmd variable. (_LT_DECL_DLLTOOL): New macro ensures DLLTOOL is always set. 2009-02-16 Ralf Wildenhues <...>
cygwin-release-20090223.tar.bz2
Description: Binary data