mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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
This commit is contained in:
parent
85bca61698
commit
267c1db55b
1 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,16 @@ as you preserve this copyright notice and permission notice.
|
||||||
|
|
||||||
To compile and install @samp{libobjects}:
|
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
|
@enumerate
|
||||||
|
|
||||||
@item
|
@item
|
||||||
|
@ -34,6 +44,13 @@ specify this by setting CFLAGS. For example:
|
||||||
CFLAGS=-fgnu-runtime ./configure
|
CFLAGS=-fgnu-runtime ./configure
|
||||||
@end smallexample
|
@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
|
The @samp{configure} shell script attempts to guess correct values for
|
||||||
various system-dependent variables used during compilation, and creates
|
various system-dependent variables used during compilation, and creates
|
||||||
the Makefile(s) (one in each subdirectory of the source directory). In
|
the Makefile(s) (one in each subdirectory of the source directory). In
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue