summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorCDT 1998 Shawn T. Amundson <amundson@gtk.org>1998-07-27 05:33:17 +0000
committerShawn Amundson <amundson@src.gnome.org>1998-07-27 05:33:17 +0000
commite502a2345c2a1bb3868389578e2dc83fe0416b67 (patch)
tree7ba79357b64a60a84424e89a8637b8eb80160eee /INSTALL
parent791569ab45b4ba9cb0f730f0d496c86eeff55539 (diff)
downloadglib-e502a2345c2a1bb3868389578e2dc83fe0416b67.tar.gz
Released GLib 1.1.0upstream/GLIB_1_1_0
Mon Jul 27 00:17:30 CDT 1998 Shawn T. Amundson <amundson@gtk.org> * Released GLib 1.1.0
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL67
1 files changed, 67 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index e69de29bb..22a593294 100644
--- a/INSTALL
+++ b/INSTALL
@@ -0,0 +1,67 @@
+Simple install procedure
+========================
+
+ % gzip -cd glib-1.1.0.tar.gz | tar xvf - # unpack the sources
+ % cd glib-1.1.0 # change to the toplevel directory
+ % ./configure # run the `configure' script
+ % make # build GTK
+ [ Become root if necessary ]
+ % make install # install GTK
+
+The Nitty-Gritty
+================
+
+The 'configure' script can be given a number of options to enable
+and disable various features. For a complete list, type:
+
+ ./configure --help
+
+A few of the more important ones:
+
+* --prefix=PREFIX install architecture-independent files in PREFIX
+ [ Defaults to /usr/local ]
+
+* --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [ Defaults to the value given to --prefix ]
+
+Options can be given to the compiler and linker by setting
+environment variables before running configure. A few of the more
+important ones:
+
+ CC : The C compiler to use
+ CPPFLAGS : Flags for the C preprocesser such as -I and -D
+ CFLAGS : C compiler flags
+
+The most important use of this is to set the
+optimization/debugging flags. For instance, to compile with no
+debugging information at all, run configure as:
+
+ CFLAGS=-O2 ./configure # Bourne compatible shells (sh/bash/zsh)
+
+or,
+
+ setenv CFLAGS -O2 ; ./configure # csh and variants
+
+
+Installation directories
+========================
+
+The location of the installed files is determined by the --prefix
+and --exec-prefix options given to configure. There are also more
+detailed flags to control individual directories. However, the
+use of these flags is not tested.
+
+One particular detail to note, is that the architecture-dependent
+include file glibconfig.h is installed in:
+
+ $exec_pref/lib/glib/include/
+
+if you have a version in $prefix/include, this is out of date
+and should be deleted.
+
+A shell script glib-config is created during the configure
+process, and installed in the bin/ directory
+($exec_prefix/bin). This is used to determine the location of glib
+when building applications. If you move glib after installation,
+it will be necessary to edit this file.
+