* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index d4d0a105321feee0fa688ce489ed407518ff9f4d..0fe2835f779067fbab8abe08f8da4e1312b51fd3 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,35 +1,25 @@
-CACAO specific installation instructions
-========================================
+Quick start instructions
+========================
 
-* CLASSPATH, classfiles & other Java weirdness
-----------------------------------------------
+You can check the configure options via `./configure --help'. But the
+default settings should be ok. For building the package type:
 
-Make sure you have classfiles which work with cacao. A version of
-these can be found at
-ftp://www.complang.tuwien.ac.at/pub/java/cacao/classes.zip.gz
+   $ ./configure
+   $ make
+   $ make install
 
-After the installation of these set the environment variable CLASSPATH
-to the directories where your class libraries are stored. E. g. if you
-unzipped classes.zip in the directory /usr/local/lib/java/classes set
-the CLASSPATH environment variable to /usr/local/lib/java/classes.
+The default installation prefix is `/usr/local/cacao'. You can change
+this destination by providing the `--prefix=PATH' option to configure.
 
-* configuring & compiling CACAO
--------------------------------
+This version of cacao only supports the `--prefix' option, even if
+configure processes the other options (`--bindir', `--libdir', etc.),
+it will screw up your installation since CACAO tries to setup a
+directory tree like the JVMs from Sun or IBM do.
 
-  1. Unpack the tar archive (apparently you have done this, otherwise
-     you wouldn't read this file.
 
-  2. `cd' to the directory containing the package's source code and type
-     `./configure' to configure the package for your system.  If you're
-     using `csh' on an old version of System V, you might need to type
-     `sh ./configure' instead to prevent `csh' from trying to execute
-     `configure' itself.
+Requirements:
+-------------
 
-     Running `configure' takes awhile.  While running, it prints some
-     messages telling which features it is checking for.
-
-  3. Type make.
-
-After this you should have a working version of cacao and cacaoh. How to
-invoke cacao and which class library has to be used is described at the
-CACAO home page (http://www.complang.tuwien.ac.at/java/cacao/index.html).
+In order to build CACAO you need a Java runtime library such as GNU
+classpath or OpenJDK. Please refer to the respective project
+documentation for building.