libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: document path separator


From: Bob Friesenhahn
Subject: Re: document path separator
Date: Wed, 17 Nov 2004 11:35:19 -0600 (CST)

On Wed, 17 Nov 2004, Ralf Wildenhues wrote:

OK to apply to HEAD and branch-2-0? (wording may be suboptimal).

It looks fine to apply to me.

Bob



2004-11-17  Ralf Wildenhues <address@hidden>

        * doc/libtool.texi (Linking static libraries): Typo.

        * doc/libtool.texi (Libltdl interface): The path separator
        is system-dependent.

Index: doc/libtool.texi
===================================================================
RCS file: /cvsroot/libtool/libtool/doc/libtool.texi,v
retrieving revision 1.179
diff -u -r1.179 libtool.texi
--- doc/libtool.texi    15 Nov 2004 01:03:14 -0000      1.179
+++ doc/libtool.texi    17 Nov 2004 17:10:32 -0000
@@ -1065,7 +1065,7 @@
may get errors about symbol redefinitions.

The key is remembering that a convenience library contains @sc{pic}
-objects, and can linked where a list of @sc{pic} objects makes sense;
+objects, and can be linked where a list of @sc{pic} objects makes sense;
i.e. into a shared library.  A static convenience library contains
address@hidden objects, so can be linked into an old static library, or
a program.
@@ -3430,7 +3430,9 @@
@end enumerate

Each search path must be a colon-separated list of absolute directories,
-for example, @code{"/usr/lib/mypkg:/lib/foo"}.
+for example, @code{"/usr/lib/mypkg:/lib/foo"}.  On Windows, the path
+separator is a semi-colon.  The directory names may not contain the
+path separator.

If the same module is loaded several times, the same handle is returned.
If @code{lt_dlopen} fails for any reason, it returns @code{NULL}.
@@ -3487,8 +3489,8 @@

@deftypefun int lt_dlsetsearchpath (const char address@hidden)
Replace the current user-defined library search path with
address@hidden, which must be a colon-separated list of absolute
-directories.  Return 0 on success.
address@hidden, which must be a colon-separated (semi-colon on Windows) list
+of absolute directories.  Return 0 on success.
@end deftypefun

@deftypefun {const char *}lt_dlgetsearchpath (void)
@@ -3499,9 +3501,9 @@
In some applications you may not want to load individual modules with
known names, but rather find all of the modules in a set of
directories and load them all during initialisation.  With this function
-you can have libltdl scan the colon delimited directory list in
address@hidden for candidates, and pass them, along with @var{data}
-to your own callback function, @var{func}.  If @var{seach_path} is
+you can have libltdl scan the colon delimited directory list (semi-colon on
+Windows) in @var{search_path} for candidates, and pass them, along with
address@hidden to your own callback function, @var{func}.  If @var{seach_path} 
is
@samp{NULL}, then search all of the standard locations that
@code{lt_dlopen} would examine.  This function will continue to make
calls to @var{func} for each file that it discovers in @var{search_path}



======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]