Commit Graph

1353 Commits

Author SHA1 Message Date
Thomas Tanner
2bbff0ffe7 added me as co-maintainer 1998-11-23 21:27:21 +00:00
Thomas Tanner
a4f2b1f846 *** empty log message *** 1998-11-23 21:26:38 +00:00
Alexandre Oliva
405661a0fa * libltdl/ltdl.c: replace NULL with 0, so that we don't depend on
header files defining it.
1998-11-21 07:45:20 +00:00
Alexandre Oliva
02424f059f * ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create
libraries with gcc -shared if using gcc without GNU ld.

	* ltconfig.in: replaced occurrences of solaris2 with solaris, to
	prepare for Solaris 7
1998-11-21 06:42:36 +00:00
Alexandre Oliva
073f9e6582 added message with -export-symbols syntax for various platforms 1998-11-21 06:40:20 +00:00
Alexandre Oliva
d4326213cb * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen
(hell_LDFLAGS): added -export-dynamic and -dlopen
	(SUBDIRS, INCLUDES): added modules directory
	(foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules
	* Makefile.am: ditto
	* tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved
	* mdemo/modules/Makefile.am: new file

	* */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
1998-11-19 22:53:40 +00:00
Alexandre Oliva
39eaa038a1 * ltmain.in: missing test' between &&' and `"$module"' 1998-11-19 20:31:26 +00:00
Alexandre Oliva
6ac0b9a144 * ltconfig.in (echo_test_string): the whole ltconfig script was
too much for DU4.0's ksh, but the first 50 lines will be enough.
1998-11-19 20:28:01 +00:00
Alexandre Oliva
6dee8297df * ltmain.in (installed): new variable defined within a .la file,
so that libtool can now link already-installed libraries into a
	program.
	* NEWS: ditto
	* doc/libtool.texi (Linking executables): document it
1998-11-19 19:57:33 +00:00
Alexandre Oliva
cc297c844f * ltmain.in (installed): new variable defined within a .la file,
so that libtool can now link already-installed libraries into a
	program.
	* NEWS: ditto
	* doc/libtool.texi (Linking executables): document it
1998-11-19 18:01:07 +00:00
Alexandre Oliva
1d3fb4e061 * ltmain.in (output_objdir): compute it from $output, not $arg 1998-11-19 13:54:59 +00:00
Alexandre Oliva
e76ee47bce * NEWS: -module and libtldl
* mdemo/Makefile.am: ../libltdl is within $(srcdir)

	* libltdl, Makefile.am: added libltdl (a system independent
	dlopen wrapper library extracted from mdemo)
	* ltmain.in: added -module flag for compiling and linking of
	modules. If enabled it compiles always both .o (with -DLT_RENAME)
	and .lo files
	* mdemo: modified mdemo to work with libltdl
	* tests/ltdl*: added tests for libltdl
1998-11-18 07:29:36 +00:00
Steve Price
f862078a89 * ltconfig.in: when $host_os is freebsd[23]* determine whether
the current linker format is a.out or ELF
	* ltmain.in: add two new $version_type's, freebsd-aout and
	freebsd-elf, to support above change
1998-11-16 19:39:25 +00:00
Stephan Kulow
791c05ea82 * ltconfig.in: extent no_builtin_flag to contain -fno-rtti and
-fno-exceptions in case we compile with a gcc, that supports
	this options (egcs and gcc >= 2.8)
1998-11-16 13:21:02 +00:00
Alexandre Oliva
76d675ff0f * ltmain.in (C_compiler): copy $CC before it is overwritten with
command-line compiler, so that we can use it to compile C sources
 	generated during the build.  This fixes the problem that showed up
	with -export-dynamic of C++ programs in egcs 1.1.
	* NEWS: ditto
1998-11-16 08:10:45 +00:00
Alexandre Oliva
038ceec5c3 * PORTING: Porting instructions are in the libtool manual already 1998-11-12 20:07:54 +00:00
Alexandre Oliva
0cffbd8696 * NEWS: Mention -export-symbols and new dlpreopen 1998-11-12 15:59:10 +00:00
Alexandre Oliva
b0555f70c8 * ltmain.in (IFS): revert Gary's patch when parsing version
information; we still use `:' here :-)
1998-11-11 22:21:35 +00:00
Alexandre Oliva
736fd9c392 * NEWS: updated
* PORTING: new file, with general instructions and inter-library
	dependencies tips
1998-11-11 21:55:49 +00:00
Alexandre Oliva
2d37f44824 * ltconfig.in: make use of '~' field separator in reload_cmds,
old_archive_from_new_cmds, old_archive_cmds, archive_cmds,
 	old_postinstall_cmds, postinstall_cmds, old_postuninstall_cmds,
 	postuninstall_cmds and finish_cmds, so that the semi-colons inside
 	if/then/else/fi and for/do/done etc. do not break the eval loop in
 	ltmain.in (below).
        * ltmain.in: changed all of the eval loops to use an IFS of `~',
 	to allow differentiation between the end-of-statement-;
	(now `~' is used) and end-of-substatement-; (still `;').  This
 	fixes AIX and win32 at least.
1998-11-11 21:12:30 +00:00
Alexandre Oliva
1abeff470b * ltconfig.in (sunos*, sympat, symxfrm): remove underscore
prepended by the compiler
1998-11-11 03:39:08 +00:00
Toshio Kuratomi
646476041a Marc J. Fraioli did not add support for uts4; it was already there! 1998-11-11 01:47:58 +00:00
Toshio Kuratomi
cfae038fa3 * ltconfig.in: re-enable deplibs
* ltmain.in: support deplibs, at least for GNU/Linux/x86
1998-11-11 01:47:02 +00:00
Gordon Matzigkeit
3c8bd8bf24 Second try at relink warning message.
CVS:
CVS:
1998-11-10 22:11:09 +00:00
Gordon Matzigkeit
516e84bd94 Soften the relink warning.
CVS:
CVS:
1998-11-10 22:04:14 +00:00
William M. Perry
7767c43b37 Updated instructions for anoncvs access.
CVS:
CVS:
1998-11-09 04:26:06 +00:00
William M. Perry
a027404613 added some interesting suggestions 1998-11-07 07:49:23 +00:00
William M. Perry
983f1cb8e3 * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds 1998-11-07 07:19:18 +00:00
Alexandre Oliva
ab657f88f3 * sh.test (test X): ensure that the double-quote supposed to be
reported is really reported
1998-11-07 07:08:49 +00:00
Alexandre Oliva
69ef5488f6 * ltconfig.in: add --falback-echo, to be used if everything else
fails.  The tests now check the behavior of $echo for very large
 	strings, because some echo commands would just core dump (e.g.,
 	Solaris' printf).  If too large strings fail, smaller ones are
 	tested.
	(ltecho): arrange that, if the --fallback-echo method is selected,
	echo will be defined in the libtool script so as to re-run itself,
	not ltconfig
	* ltmain.in: add --fallback-echo
	(qecho) ensure that, if --falback-echo is being used, qecho is
	defined with the full pathname of the libtool script
1998-11-07 07:04:04 +00:00
Thomas Tanner
316ebb4d2d * mdemo/main.c: removed hardcoded library names; link against -lm
* tests/mdemo-exec, tests/mdemo-inst: pass the library names
	to the program
1998-11-07 04:33:47 +00:00
Marc J. Fraioli
986ef4cd72 * README: Added DG/UX
* doc/PLATFORMS: ditto
1998-11-07 04:28:37 +00:00
Michael Tiemann
70fb641af4 * ltconfig.in (irix6): it's a little bit different from irix5 1998-11-04 10:15:49 +00:00
Alexandre Oliva
78591bced5 installed 1998-11-04 10:15:05 +00:00
Alexandre Oliva
1dad8df880 fixed 1998-11-04 10:14:48 +00:00
Alexandre Oliva
f0e34e5a85 moved from aix to c++ 1998-11-04 10:13:38 +00:00
Alexandre Oliva
689181e7fe * THANKS: Added Thomas Tanner and Gary V. Vaughan 1998-11-04 09:56:08 +00:00
Alexandre Oliva
8c1f97e1be 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in, ltmain.in: updated and fixed the patches below

1998-11-04  Thomas Tanner  <tanner@gmx.de>

	* mdemo/*: added new demo to demonstrate building of dlopenend
	modules
	* tests/Makefile.am, tests/mdemo*: added some tests for mdemo

1998-11-04  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>

	* demo/configure.in: added AC_EXEEXT macro so that the tests can
 	work on cywin32/mingw32 hosts.  This requires the current CVS
 	autoconf

1998-11-04  Thomas Tanner  <tanner@gmx.de>

	* ltmain.in: New flag -export-symbols; new dlpreopen system
	* demo/dlmain.c: removed dld_preloaded_symbol_count

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltmain.in: On installation, don't get confused if the same name
	appears more than once in the list of library names.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Add objext and libext variables.  Check for object
	suffix.  Check for mingw32* as well as cygwin32*.  Use objext when
	testing compiler.  Add support for Visual C++ on cygwin32 when not
	using gcc.  Add objext, libext, and fix_srcfile_path to generated
	libtool script.
	* ltmain.in: Use .${objext} rather than .o.  Use fix_srcfile_path
	if it is set.  Check for .obj as well as for .o, and for .lib as
	well as for .a.  Use .${libext} rather than .a when creating old
	libraries.
	* libtoolize.in: Change initial /bin/sh to @SHELL@.
	* libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for
	AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the
	AC_REQUIRE in AC_CHECK_TOOL.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Look in the right directory for libtool.c in
	archive_cmds for cygwin32.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Fix cygwin32 support to avoid using a double
	extension, to delete the def file, to set version_type to windows,
	and to include versuffix in the DLL name.
	* ltmain.in: Add support for a version_type of windows.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Add cygwin32 support.
	* libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a
	cygwin32 host.  Pass DLLTOOL and AS to ltconfig.
	(AM_SYS_LIBTOOL_CYGWIN32): New macro.
1998-11-04 09:43:29 +00:00
Alexandre Oliva
b9d0ec01b0 * ltconfig.in: On AIX, don't treat GNU ld specially. 1998-11-04 08:33:52 +00:00
Alexandre Oliva
960fc6f061 * libtool.m4 (sco): fix typo 1998-11-04 08:15:36 +00:00
Ian Lance Taylor
c785f1166c * ltconfig.in: On AIX, don't treat GNU ld specially. 1998-11-04 08:09:46 +00:00
Alexandre Oliva
0e6a6a08b7 * ltconfig.in (hardcode_minus_L): Revert Ian's patch for
ltconfig.in.  Although -L hardcoding is not used with GNU ld, it
	does happen, so hardcode_minus_L must be set to yes.
1998-11-04 07:36:59 +00:00
Alexandre Oliva
1168e3b550 * ltconfig.in (compiler_o_lo): check whether we can write directly
to a .lo
	* ltmain.in (compiler_o_lo): if not, write to .o and rename it
1998-11-04 07:10:43 +00:00
Ian Lance Taylor
d96dbaa246 sh.test did not like `if -rpath' in a comment 1998-11-04 06:36:02 +00:00
Ian Lance Taylor
c6c2f3ad4a * ltconfig.in: For sunos4 using GNU ld, set hardcode_minus_L to
no.
	* ltmain.in: Add some hacks to make SunOS --enable-shared work
	when using GNU ld.
1998-11-04 06:17:44 +00:00
Alexandre Oliva
c38e0eecc7 * THANKS: Added Marc J. Fraioli 1998-11-04 06:05:44 +00:00
Marc J. Fraioli
ab277a78f6 * ltconfig.in (uts4, dgux): new supported platforms 1998-11-04 05:56:45 +00:00
Alexandre Oliva
09a44649a3 * ltconfig.in (need_locks): if neither `-c -o' nor hard links are
available, fallback to not so safe mechanism, by setting
	need_locks to warn
	* ltmain.in (need_locks): when need_locks is set to warn, use the
	lockfile to try to fail in case of incorrect concurrent builds
1998-11-04 05:50:33 +00:00
Alexandre Oliva
2202f853e9 * THANKS: Added Eric Estievenart 1998-11-04 04:14:37 +00:00
Eric Estievenart
8747a04ff9 * doc/libtool.texi (Compile mode): Document that -o is fully
supported.

	* libtool.m4 (libtool-lock): new ARG_ENABLE; sets (need_locks)
	* ltconfig.in (disable-lock): control need_locks
	(hard_links): check whether hard-links can be used for locking
	* ltmain.in (need_locks): use $output_obj.lock for locking
1998-11-04 04:13:03 +00:00