+
1999-08-02 Olly Betts <olly@muscat.co.uk>
+ * doc/libtool.texi (Compile mode): typo correction.
+ (Link mode): and another.
+ (Release numbers): and another.
+ (Distributing libltdl): and another.
+ (Test descriptions): and another.
+ (libtool script contents): and one more.
+
* libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.
Libtool determines the name of the output file by removing the directory
component from the source file name, then substituting the source code
-suffix (e.g. @samp{.c} for C soure code) with the library object suffix,
+suffix (e.g. @samp{.c} for C source code) with the library object suffix,
@samp{.lo}.
If shared libraries are being built, any necessary PIC generation flags
executable.
@item -module
-Creates a library that can be dlopenend (@pxref{Dlopened modules}).
+Creates a library that can be dlopened (@pxref{Dlopened modules}).
This option doesn't work for programs.
Module names don't need to be prefixed with 'lib'.
In order to prevent name clashes, however, 'libname' and 'name'
at the same time that the release number does, and the library suffix is
never the same across all platforms.
-So, in order to accomodate both views, you can use the @samp{-release}
+So, in order to accommodate both views, you can use the @samp{-release}
flag in order to set release information for libraries which you do not
want to use @samp{-version-info}. For the @file{libbfd} example, the
next release which uses libtool should be built with @samp{-release
dlpreopening, which is probably not what you want.
Avoid using the @code{-static} or @code{-all-static} switches when
-linking programs with libltdl. This will not work on all plaforms,
+linking programs with libltdl. This will not work on all platforms,
because the dlopening functions may not be available for static linking.
The following example shows you how to embed the convenience libltdl in
@item sh.test
@pindex sh.test
-Checks whether a `test' command was forgotton in libtool.
+Checks whether a `test' command was forgotten in libtool.
@item suffix.test
@pindex suffix.test
means the same as @samp{yes}, but documents that we are not really sure
about it.
@samp{yes} means that it is possible both to @code{dlopen} and to
-link against a library wihthout 'lib' prefix,
+link against a library without 'lib' prefix,
i.e. it requires @var{hardcode_direct} to be @samp{yes}.
@end defvar