📄 changelog.0
字号:
promised that lt_dlopen will return NULL if it can't resolve all symbols * libltdl/Makefile.am, libltdl/configure.in: fixed build problem: renamed the convenience library to libltdlc.la and the installed version to libltdl.la * ltmain.in (wrapper script): replaced the "T" suffix of the program file name with a "lt-" prefix * mdemo/Makefile.am: use libltdlc.la * tests/Makefile.am, tests/demo-nofast.test: added demo to test --enable-fast-install=no 1999-03-07 Alexandre Oliva <oliva@dcc.unicamp.br> * tests/Makefile.am (TESTS): run hardcode before build-relink trashes libhello.la * tests/hardcode.test (need_prefix): set to yes so that _inst is not removed * ltmain.in (compile_command): append finalize search path to compile search path * tests/build-relink.test: new; check shlibpath_overrides_runpath * tests/Makefile.am (TESTS): add build-relink.test; remove hardcode.test duplicates * doc/libtool.texi: document it * ltmain.in (relink_command): do not prepend cd `pwd` to it, the scripts already enters the correct directory, and expanding the pathname would prevent the build tree from moving * ltconfig.in (enable_fast_install): force it to no only if we need relink; in the other cases, set it to needless * ltmain.in (fast_install): if needless, set relink_command empty * doc/libtool.texi (fast_install, shlibpath_overrides_runpath): document the new behavior * ltconfig.in (enable_fast_install): test whether it can be forced off after shlibpath_overrides_runpath and enable_shared are set1999-03-07 Thomas Tanner <tanner@gmx.de> * TODO: updated * NEWS: updated * TODO: scheduled some items for next release/future * demo/configure.in: use AC_LIBTOOL_DLOPEN * libtool.m4: added AC_ENABLE/DISABLE_FAST_INSTALL macro * ltconfig.in: added --disable-fast-install flag * ltmain.in: partially reverted Alexandre's patch and implemented on-demand linking in such a way that the old developer-friendly linking style is optional, don't hardcode library paths that are in the system search path, fixed a typo in lib_search_path, implemented -export-symbols-regex for programs1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br> * libltdl/ltdl.c (LTDL_LAZY_OR_NOW): renamed from LTDL_NOW; prefer LAZY loading because it's much faster and NOW is apparently partially broken on FreeBSD Reported by Archie Cobbs <archie@whistle.com> * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld): $lib.exp already starts with $objdir/ Reported by Godmar Back <gback@cs.utah.edu> * ltmain.in (freebsd): compile symbol table file with pic_flag only on FreeBSD and when not static linking; it's been causing trouble on platforms such as OpenBSD.1999-02-26 Gary V. Vaughan <gvv@techie.com> * libtool.m4 (cygwin): s/\\(mingw\\|cygwin\\)32/\\1/g. Must've missed this file when I changed to cygnus' new sanction name. * ltconfig.in (sub_uncdrive): removed. This won't work with the next version of cygwin. (sub_uncdir): removed. We use <drive>:/path/to/executable now. * libtool.m4 (AC_PROG_LD): removed sub_uncdrive and sub_uncdir.1999-02-25 Thomas Tanner <tanner@gmx.de> * TODO: added items for next alpha release, ILD etc. * libltdl/ltdl.c: removed unnecessary check from presym_sym, fixed bug in lt_dlclose, allow lt_dlopenext(NULL), set deplibs for lt_dlopen(NULL)1999-02-24 Alexandre Oliva <oliva@dcc.unicamp.br> * ltmain.in (file_magic_regex): sed `10q' is faster than `11,$d'1999-02-22 Thomas Tanner <tanner@gmx.de> * ltconfig.in (dlopen, dlopen_self): default is unknown * ltmain.in: fixed -dlopen self, print a warning if -dlopen is used without AC_LIBTOOL_DLOPEN * mdemo/Makefile.am: use -dlopen self1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br> * ltmain.in: added missing mkdir $progdir for on-demand executable * ltmain.in: create on-demand executable as $progdir/$$-$program, and rename it to $progdir/$program only when it's finished, to avoid race conditions. We can still get the program linked multiple times, if multiple instances are started simultaneously and the program does not exist, but they are very unlikely to interfere with each other. There's still a possibility that one process removes the $program another has just created, and doesn't replace it before the other tries to run it, in a system whose `mv' is not atomic, so it will $rm then $mv, but so what? :-) Locking files have been avoided to prevent dead-locks in case they are left over after a reboot or crash. * TODO: removed ILD, soon to be merged, and added convenience libraries docs * ltconfig.in (irix5*, irix6*, shlibpath_overides_runpath): yes * ltmain.in: remove on-demand executable in the proper place, and just warn if it can't be removed; add wrapper code to test whether the install-executable is newer than the build-executable, to relink it when it appears to be out-of-date * libltdl/configure.in: check for dld.h * libltdl/ltdl.c: include dld.h (dld_open) it's spelled memory_error, not no_memory_error Reported by Stefan Burstroem <f94sbu@efd.lth.se> * ltmain.in: fix typos in my last change (s/ocmpile/compile/)1999-02-21 Thomas Tanner <tanner@gmx.de> * libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle when dlopening the executable * libtool.m4 (AC_LIBTOOL_DLOPEN): removed the redundant "yes: " prefix for lt_cv_dlopen, renamed lt_cv_dlopen_LIBS to lt_cv_dlopen_libs (more consistent) * ltmain.in: implemented -dl[pre]open self, necessary for lt_dlopen(NULL), generation of exported symbols was broken1999-02-20 Alexandre Oliva <oliva@dcc.unicamp.br> * ltmain.in: avoid duplication of -L switches, it sometimes breaks IRIX 5.2's linker * ltconfig.in (freebsd*, finish_cmds): expand objformat here Reported by Vladimir Kushnir <kushn@mail.kar.net>1999-02-20 Vladimir Kushnir <kushn@mail.kar.net> * ltconfig.in (freebsd-elf*, need_version, need_lib_prefix): no (freebsd-elf*, library_names_spec): add $libname.so instead of $libname.so$versuffix; add $libname$release.so1999-02-20 Alexandre Oliva <oliva@dcc.unicamp.br> * doc/libtool.texi: remove ticks from menu items; it breaks TeX Reported by Erez Zadok <ezk@cs.columbia.edu> * ltmain.in: fixes for export-symbols dry-run * ltconfig.in (shlibpath_overrides_runpath): new variable; determines whether LD_LIBRARY_PATH or equivalent can be used to override a hard-coded library search path; default to unknown (linux-gnu*): set it to no (solaris*, sunos4*): set it to yes * ltmain.in (build_libdirs_flags, build_libdirs, build_rpath): if shlibpath_overrides_runpath is not yes, arrange that wrapper scripts create, on demand, programs that use uninstalled libraries * doc/libtool.texi: document it * libtool.m4 (AC_LIBTOOL_DLOPEN): check for dlopen in libc before trying in dl. Add the actual dlopening type to lt_cv_dlopen, and add any needed libraries to lt_cv_dlopen_LIBS. Add test for MS-Windows' LoadLibrary. Check whether a program can dlopen itself only if we really have dlopen(), not some equivalent function, but leave room for testing with other mechanisms. (AC_PROG_LIBTOOL): assume some form of dlopen, but not dlopen(NULL), is available if AC_LIBTOOL_DLOPEN is not used, for backward compatibility.1999-02-20 Archie Cobbs <archie@whistle.com> * libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle where appropriate, when dlopening a non-libtool library1999-02-19 Gary V. Vaughan <gvv@techie.com> * ltconfig.in (export_symbols_cmds): renamed from export_symbols_cmd. (cygwin, mingw): Be sure to compile the ltdll.c object before extracting the exported symbol list. Extract only the names of the exported symbols from the def file [otherwise we might run into trouble with -export-symbols-regex]. (archive_expsym_cmds): Regenerate the def file from the symbol export list. (delay_variable_subst): New sed expression to allow us to delay evaluation of $foo in a double_quote_subst evaluated variable by using \$. * ltmain.in (export_symbols_cmds): evaluate each ~ delimitted cmd separately. * doc/libtool.texi (libtool script contents): new paragraph to explain the difference between _cmd and _cmds suffixes for variable names. (export_symbols_cmds): renamed from export_symbols_cmd. 1999-02-18 Alexandre Oliva <oliva@dcc.unicamp.br> * ltconfig.in (ld_shlibs): move -soname and similar flags to the end of archive_cmds and archive_expsym_cmds, so as to prevent gcc's collect2 from inserting an object file between -soname and the library name * ltconfig.in (openbsd*, netbsd*, library_names_spec): append alternate name without ${release}, otherwise build fails when -release is used1999-02-18 Gary V. Vaughan <gvv@techie.com> * ltconfig.in (archive{,_sym}_commands): Be careful not to re-export the dll entry points DllMain@12, _cygwin_dll_entry@12 and _cygwin_noncygwin_dll_entry@12 to avoid bugs with the wrong entry function being called with inter-dll dependencies. Reported by DJ Delorie <dj@delorie.com> * THANKS: Added DJ Delorie, since his code inspired the impgen.c program and because he has patiently answered all of the irritating dll and win32 questions I have fired at him. * ltmain.in (version_type): Oops. Irix versioning implies that major version numbers are 1 based (not zero based). Fixed. * ltmain.in (version_type): Implement irix versioning. * ltconfig.in (irix{5,6}*): Use new irix shared object versioning. * TODO: remove irix versioning from TODO list. * ltmain.in (impgen.c): Added a new embedded C file that can be used under win32 to extract a def file (symbol export list) from a dll that has none. Code to use it might need to wait for the ILD merge before it will be useful... 1999-02-18 Thomas Tanner <tanner@gmx.de> * TODO: updated * autogen: only libltdl needs autoheader * doc/libtool.texi (link mode): documented -export-symbols-regex and updated -export-symbols * doc/libtool.texi (script contents): documented always_export_symbols, export_symbols_cmd, exclude_expsyms, include_expsyms, dlopen and dlopen_self more detailed description of need_lib_prefix * ltconfig.in: a "'" was missing in the default value of export_symbols_cmd * ltmain.in: implemented -export-symbols-regex 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br> * ltconfig.in: (freebsd2*, sunos4*, exclude_expsyms): exclude _GLOBAL_OFFSET_TABLE_ * ltmain.in: implement exclude_expsyms with egrep * libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope with argument lists, we __P even in the definition1999-02-15 Thomas Tanner <tanner@gmx.de> * cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB) * cdemo/foo1.c: renamed to foo.c * libltdl/ltdl.c: eliminated lt_dltype, in presym_open(): search for @PROGRAM@ if filename == 0, in lt_dlopen(): fixed bug for filename == 0 * libltdl/ltdl.h: use __P macro for lt_dlmalloc/free * libtool.m4: new macro AC_LIBTOOL_DLOPEN: checks for dlopen and dlopen(NULL) support * ltconfig.in: added new variables dlopen and dlopen_self, --enable-dlopen[-self] flags for AC_LIBTOOL_DLOPEN * ltmain.in: use dlopen[_self], dlpreopen files if there's no dlopen support, build lt_preloaded_symbols only if -dl[pre]open was used, include program symbols if -export-dynamic was specified and there's no dlopen(NULL) support * mdemo/configure.in: use AC_LIBTOOL_DLOPEN * mdemo/main.c: demonstrate lt_dlopen(0) 1999-02-15 Gary V. Vaughan <gvv@techie.com> * demo/dlmain.c (_WIN32): The lt_symlist structure is now const, so my original horrible temporary win32 hack no longer worked. Here is a new horrible temporary hack to prevent helldl from SEGVing on win32. I will fix this properly when we figure out how to do data exports from dlls.1999-02-14 Alexandre Oliva <oliva@dcc.unicamp.br> * libtool.m4 (AC_CHECK_LIBM): do not set MATHLIB or AC_SUBST it, this has a negative side-effect of causing automake to add MATHLIB to every single Makefile. Let's use plain AC_CHECK_LIB, so that LIBS get set, until we find a better alternative * *demo/Makefile.am: remove $(MATHLIB) * libltdl/configure.in: add a DESCRIPTION argument to AC_DEFINEs where appropriate, so as to get rid of acconfig.h * libltdl/acconfig.h: removed1999-02-13 Thomas Tanner <tanner@gmx.de> * *demo/Makefile.am: use $(MATHLIB) * *demo/configure.in: use AC_CHECK_LIBM * doc/libtool.texi: renamed file_magic_command to file_magic_cmd, renamed archive_sym_cmds to archive_expsym_cmds * ltconfig.in: ditto * ltmain.in: ditto * libltdl/ltdl.c: use lt_dlmalloc/free * libltdl/ltdl.h: define lt_dlmalloc/free * libtool.m4: added AC_CHECK_LIBM macro * ltconfig.in: renamed archive_sym_cmds to archive_expsym_cmds, added always_export_symbols, export_symbols_cmd, exclude_expsyms, include_expsyms, removed archive_cmds for cygwin/mingw and AIX, on Solaris store the exported symbols list in objdir * ltmain.in: allow -export-symbols for modules, use thread_safe flag, add include_expsyms to the exported symbols1999-02-12 Gary V. Vaughan <gvv@techie.com> * libltdl/ltdl.h (_LTDLL_EXTERN): libltdl is no longer linked as a shared library, so the _declspec's were preventing the linker from resolving symbols on win32. They have been removed now.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -