mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
* libltdl/Makefile.am (CFLAGS): ditto * libltdl/configure.in: check for memory.h, rindex() and dlpreopening. Fixed NEED_USCORE caching policy. * libltdl/ltdl.h (lt_dlsym): make the name argument const * libltdl/ltdl.c (types): new variable: head of list of available dlopening mechanisms (lt_dltype_t): interface of a dlopening mechanism, with pointers to functions for init, exit, open, close and sym (lt_dlhandle_t): added pointer to interface type (strdup): don't name it strdup; it can be troublesome (strrchr): ditto; use rindex if available (LIBTOOL_STATIC): check HAVE_DLPREOPEN instead, and move to the end of the file, so that it becomes the header of the list (all): renamed all interface-implementation functions, to avoid name clashes, and created lt_dltype_t nodes for all of them (lt_dlinit): initialize all available interfaces; remove those that fail from the list. Return failure only if no interfaces could be initialized. (lt_dlexit): return number of failures (tryall_dlopen): try to open the library with all available interfaces (lt_dlopen): use tryall_dlopen; increased size of fixed buffers. We should probably make these bound-checked or dynamically allocated for the final release! Fix bug when filename did not contain slashes; should we check for `\\' too? Try old_library if everything else fails. (lt_dlclose): use the interface type for closing (lt_dlsym): make `symbol' const, use interface type for looking up * mdemo/Makefile.am: moved mdemo/modules/* back into mdemo (SUBDIRS): removed (libfoo2_la_LDFLAGS): added -static; nice test. However, since it causes -lm to linked into hell*, it causes tests that should fail to pass (noinst_HEADERS): no need to install foo.h * mdemo/configure.in: remove modules/Makefile tests/mdemo-exec.test: updated accordingly |
||
---|---|---|
demo | ||
depdemo | ||
doc | ||
libltdl | ||
mdemo | ||
tests | ||
.cvsignore | ||
AUTHORS | ||
autogen | ||
ChangeLog | ||
config.guess | ||
config.sub | ||
configure.in | ||
libtool.m4 | ||
libtool.spec | ||
libtoolize.in | ||
lineno | ||
ltconfig.in | ||
ltmain.c | ||
ltmain.in | ||
Makefile.am | ||
NEWS | ||
PORTING | ||
README | ||
README-alpha | ||
THANKS | ||
TODO |
This is GNU Libtool, a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface. To use libtool, add the new generic library building commands to your Makefile, Makefile.in, or Makefile.am. See the documentation for details. Libtool supports building static libraries on all platforms. Shared library support has been implemented for these platforms: AIX 3.x (*-*-aix3*) AIX 4.x (*-*-aix4*) AmigaOS (*-*-amigaos*) BSD/OS 4.x (*-*-bsdi4*) Digital/UNIX 3.x, 4.x, a.k.a. OSF/1 (*-*-osf3*, *-*-osf4*) DG/UX R4.11, R4.12, R4.20 (*-*-dguxR411*, *-*-dguxR412*, *-*-dguxR420*) FreeBSD 2.x, 3.x (*-*-freebsd2*, *-*-freebsd3*) GNU/Linux ELF (*-*-linux-gnu*, except aout, coff, and oldld) HP-UX 9.x, 10.x, 11.x (*-*-hpux9*, *-*-hpux10*, *-*-hpux11*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) OS/2 using EMX (*-*-os2*) SCO OpenServer 5.x (*-*-sco3.2v5*) SCO UnixWare 7.x (*-*-sysv5*) Solaris 2.x (*-*-solaris2*) SunOS 4.x, a.k.a. Solaris 1.x (*-*-sunos4*) UnixWare 2.x (*-*-sysv4.2uw2*) UTS 4.x (*-*-uts4*) All ELF targets that use both the GNU C compiler (gcc) and GNU ld NOTE: Some HP-UX sed programs are horribly broken, and cannot handle libtool's requirements, so users may report unusual problems. There is no workaround except to install a working sed (such as GNU sed) on these systems. NOTE: Any earlier DG/UX system with ELF executables, such as R3.10 or R4.10, is also likely to work, but hasn't been explicitly tested. Libtool's home page is: http://www.gnu.org/software/libtool/libtool.html See the file NEWS for a description of recent changes to libtool. See the file INSTALL for instructions on how to build and install libtool. See the info node (libtool)Tested Platforms. (or the file doc/PLATFORMS) for a list of platforms that libtool shared library support was tested on. If you have any suggestions or bug reports, or you wish to port libtool to a new platform, please send electronic mail to the libtool mailing list <bug-libtool@gnu.org>. Don't forget to mention the version of libtool that you are currently using (by typing `ltconfig --version').