From 267c1db55b63a6ffbe1d7f3c9622691015cab2ee Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 8 Jan 1996 17:26:41 +0000 Subject: [PATCH] Include quick-and-dirty example. Describe --enable-shared. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@696 72102866-910b-0410-8b05-ffd578937521 --- Documentation/install.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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