X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/77cdfbf1b6a3dd34ab14312ae9ae33e5c08e5532..9e731bc6f42c86b3c8fce3f836f091e7136db630:/INSTALL diff --git a/INSTALL b/INSTALL index 54caf7c190..7c5877fbf4 100644 --- a/INSTALL +++ b/INSTALL @@ -1,3 +1,65 @@ +************************************************ +* Installation information specific to SimGrid * +************************************************ + +The main source of information to compile SimGrid is the project FAQ. +It is available online from http://simgrid.gforge.inria.fr/doc/faq.html or +in the doc/ directory of this archive. + +Quick way to compile +==================== + +In short, the way to compile SimGrid depends on whether you are +compiling a tar.gz archive or directly from the SVN. In the latter +case, you have to do an extra step (noted 0 below). + +(0) regenerate the autotools files (only needed from SVN): +$ ./bootstrap + +(1) configure SimGrid (both in SVN and archives) +$ ./configure +Main options are: + --prefix=: specify where to install SimGrid + --with-pthreads: use pthreads instead of Unix contextes (less + efficient but maybe easier to debug) + --enable-maintainer-mode: get the makefiles regenerated automatically + --disable-compiler-optimizations: compile with -O0 instead of -O3 +See below for other configure options which are common to any project, +not only SimGrid related. + +(2) Compile it +$ make + +(3) Test it (optional) +$ make check + or +$ ./checkall + +(4) Install it +$ make install + + +Dependencies +============ +SimGrid archives do not have any firm dependencies. + +If you want to compile from the svn, you have to have autotool, +automake and libtool installed. + +If you want to compile the java bindings, you have to have a java +compiler, and the jni.h header file (available from the JDK) + +If you want to compile the GTNetS backend, you have to have a patched +version of GTNetS installed. The patch lives in the contrib section of +the SVN. + +Again, you should check the FAQ for more information. + +**************************************************************************** +* Generic Installation information from autotools * +* (provided for completion at the step where you have to launch configure) * +**************************************************************************** + Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. @@ -167,7 +229,7 @@ eventually be run) with `--host=TYPE'. Sharing Defaults ================ - If you want to set default values for `configure' scripts to share, +< If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then