1998-07-27 07:33:17 +02:00
|
|
|
Simple install procedure
|
|
|
|
========================
|
|
|
|
|
version bump to 1.1.3, binary age 0, interface age 0.
Sun Aug 16 20:28:27 1998 Tim Janik <timj@gtk.org>
* version bump to 1.1.3, binary age 0, interface age 0.
* glib.h: be nice to platforms that don't have gint64 and don't
issue #warning on every compilation. since glib doesn't require
gint64 itself, packages that need gint64 should test for this
themselves.
* glib.h:
* gutils.c: added a new function g_vsnprintf().
Fri Aug 14 16:41:53 1998 Tim Janik <timj@gtk.org>
* glib.h: added static inline functions for bit mask tests:
g_bit_nth_lsf, g_bit_nth_msf and g_bit_storage.
Fri Aug 13 14:23:37 1998 Tim Janik <timj@gtk.org>
* glib.h:
* gmessages.c:
revised the message handling system, which is now based on a new
mechanism g_log*. most of the assertment macros got adapted to
feature the new g_log() call with an additional specification of
the log level in a preprocessor macro G_LOG_DOMAIN. if G_LOG_DOMAIN
is undefined upon the includion of glib.h, it'll be defined with a
value of (NULL) and thus preserves the original bahaviour for
warning and error messages. the message handler setting functions
for g_warning, g_error and g_message are only provided for backwards
compatibility and might get removed somewhen.
* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GLib" upon compilation. we currently have to add this definition
to the DEFS variable.
* testglib.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.
* glib.h: changed some gints to gbooleans, made a few const corrections,
removed some superfluous G_STMT_START{}G_STMT_END wrappers, added some
in other required places.
* gnode.c:
(g_node_prepend):
(g_node_insert_before):
(g_node_insert):
(g_node_append_data):
(g_node_prepend_data):
(g_node_insert_data_before):
(g_node_insert_data):
(g_node_append):
return (node), so these macros/functions can be usefully chained with
g_node_new().
[GModule]
Fri Aug 14 02:24:39 1998 Tim Janik <timj@gtk.org>
* Makefile.am: feature the G_LOG_DOMAIN macro to set the log domain
to "GModule" upon compilation. we currently have to add this definition
to the DEFS variable.
* testgmodule.c: we need an ugly #undef G_LOG_DOMAIN at the start
of this file currently, since automake doesn't support per target
_CFLAGS yet.
1998-08-16 23:14:11 +02:00
|
|
|
% gzip -cd glib-1.1.3.tar.gz | tar xvf - # unpack the sources
|
|
|
|
% cd glib-1.1.3 # change to the toplevel directory
|
1998-07-27 07:33:17 +02:00
|
|
|
% ./configure # run the `configure' script
|
version bump to 1.1.1, binary age 1, interface age 0. updates. updates.
Tue Aug 4 15:17:54 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.1, binary age 1, interface age 0.
* NEWS: updates.
* README: updates.
* INSTALL: updates and fixes.
* COPYING: include the GNU LGPL, rather than shipping an empty file.
* AUTHORS: listed original authors here, and added people who made
significant improvements to glib.
* glib.h:
* gutils.c: implement g_get_current_dir() which returns a newly
allocated string, instead of a g_getcwd() variant that operates
on a static buffer.
export glib_interface_age and glib_binary_age.
as a convenience, macro definitions have been added for
g_node_insert_data, g_node_insert_data_before, g_node_append_data and
g_node_prepend_data.
* testglib.c: minor cleanups, print current dir.
1998-08-04 16:26:27 +02:00
|
|
|
% make # build GLIB
|
1998-07-27 07:33:17 +02:00
|
|
|
[ Become root if necessary ]
|
version bump to 1.1.1, binary age 1, interface age 0. updates. updates.
Tue Aug 4 15:17:54 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.1, binary age 1, interface age 0.
* NEWS: updates.
* README: updates.
* INSTALL: updates and fixes.
* COPYING: include the GNU LGPL, rather than shipping an empty file.
* AUTHORS: listed original authors here, and added people who made
significant improvements to glib.
* glib.h:
* gutils.c: implement g_get_current_dir() which returns a newly
allocated string, instead of a g_getcwd() variant that operates
on a static buffer.
export glib_interface_age and glib_binary_age.
as a convenience, macro definitions have been added for
g_node_insert_data, g_node_insert_data_before, g_node_append_data and
g_node_prepend_data.
* testglib.c: minor cleanups, print current dir.
1998-08-04 16:26:27 +02:00
|
|
|
% make install # install GLIB
|
1998-07-27 07:33:17 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|