diff --git a/Documentation/install.texi b/Documentation/install.texi index 41f465af4..82f5b967b 100644 --- a/Documentation/install.texi +++ b/Documentation/install.texi @@ -15,6 +15,16 @@ as you preserve this copyright notice and permission notice. To compile and install @samp{libobjects}: +Here is a quick-and-dirty example of installation commands: + +@example +./configure --enable-shared --prefix=/usr/local +make +make install +@end example + +Here are more detailed instructions. + @enumerate @item @@ -34,6 +44,13 @@ specify this by setting CFLAGS. For example: CFLAGS=-fgnu-runtime ./configure @end smallexample +If your system supports dynamically loaded shared libraries, you can +request the building and installation of a @samp{.so} version of the +library by passing @samp{--enable-shared} to @samp{configure}. If in +doubt, do not include this option. In order to the build to be +successful, your version of @samp{make} must support `percent'-style +pattern rules; if you have trouble, use GNU make. + The @samp{configure} shell script attempts to guess correct values for various system-dependent variables used during compilation, and creates the Makefile(s) (one in each subdirectory of the source directory). In