This commit is contained in:
gferg 2000-08-01 13:19:16 +00:00
parent e5262e843c
commit ca1c73f574
2 changed files with 1370 additions and 226 deletions

View File

@ -7,7 +7,7 @@
<author><firstname>David A.</firstname> <surname>Wheeler</surname>
<pubdate>version 0.60, 27 April 2000</pubdate>
<pubdate>version 0.65, 25 July 2000</pubdate>
This HOWTO for programmers
@ -376,6 +376,13 @@ a new library or using a nonstandard library for special purposes.
The environment variable LD_PRELOAD lists object files with functions that
override the standard set, just as /etc/ does.
These are implemented by the loader /lib/
I should note that, while LD_LIBRARY_PATH works on many
Unix-like systems, it doesn't work on all;
for example, similar functionality is available on HP-UX but as
SHLIB_PATH, and on AIX this functionality is through LIBPATH.
<!-- Source for the systems that don't use LD_LIBRARY_PATH:
Drazen Kacar, 20 Jul 2000 13:27:53 +0200,
Mailing list -->
@ -416,7 +423,7 @@ should not be unduly affected by the environment variables set.
Creating a shared library is easy.
First, create the object files that will go into the shared
library using the gcc -fPIC flag (this enables the ``position indendependent
library using the gcc -fPIC flag (this enables the ``position independent
code'' generation, a requirement for shared libraries).
Then create the shared library using this format:

File diff suppressed because it is too large Load Diff