mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
e5262e843c
commit
ca1c73f574
|
@ -7,7 +7,7 @@
|
|||
<author><firstname>David A.</firstname> <surname>Wheeler</surname>
|
||||
</author>
|
||||
<address><email>dwheeler@dwheeler.com</email></address>
|
||||
<pubdate>version 0.60, 27 April 2000</pubdate>
|
||||
<pubdate>version 0.65, 25 July 2000</pubdate>
|
||||
<abstract>
|
||||
<para>
|
||||
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/ld.so.preload does.
|
||||
These are implemented by the loader /lib/ld-linux.so.
|
||||
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 dave@srce.hr, 20 Jul 2000 13:27:53 +0200,
|
||||
Mailing list gnome-devel-list@gnome.org -->
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -416,7 +423,7 @@ should not be unduly affected by the environment variables set.
|
|||
<para>
|
||||
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:
|
||||
</para>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue