
The Gt Library - a widget library for X Windows.

$Ident: This file is part of the 'Gt-library' 1.0.0 $
$Copyright: (C) 1997 by Gran Gustafsson $

-------------------------------------------------------------------------

Requirements
------------
You will need a "make" program (like GNU make) that can handle "include"
directives to include a files into the makefile and implicit rules of the
form "%.o : %.cc". Without these features it will be impossible to compile
the library without major editing of the makefiles.


Installation
------------
To compile and install this library you must first run the configure script:

 > ./configure

This script will try to check for the things that is needed on your system
to compile the library. After the configure script has finished there will
be two files created by it: "makefile.cfg" and "config.h". Check these two
files to make sure the configure script made the right selections.

There is also a compiled in defaults file named "gtconfig.h" in the
"include" directory that you may want to modify to change default colors or
other such things.

Next all you have to do is run:

 > make

and then to install the library:

 > make install

When installing the library all include files will be placed in a
subdirectory named "gt" in the destination include directory. Code that uses
the installed library should therefore use a include statement like
"#include <gt/...>".

The above to steps will compile a static version of the library and install
it and all the header files. On a Linux system with ELF binary format you
can create a shared library version by running:

 > make shared

and then to install the shared library:

 > make installshared

In the "defaults" directory there is a file "GtDefaults" that contain some
resource settings suitable for most programs using the library. It can
therefore be copied to the application defaults directory of X Windows where
it will be loaded by programs using the Gt library.


Problems
--------
I have not compiled this library on a lot of systems (only my Linux system
and the Suns at school) so there is probably a number of problem to solve on
other systems.

* Missing "sys/time.h" (or "fd_set" not in "sys/time.h")
  One of the more obvious problem that I can think of is in the file 
  "include/gtapp.h" which include "sys/time.h" to get a definition of
  "fd_set" and the macros for manipulating fd_set.
