The CD distribution contains a single directory which has a name
reflecting the Eclipse version number (eg. eclipse-1.0.1).
All the other subdirectories (doc, bin,
c) are under this directory. If desired you can copy
only selected protions of this subdirectory to your hard disk.
Within this single, versioned, directory are the following subdirectories and files:
eclipse.h.
main() for
the top-level Lisp listener program.
Thus the minimal installation would include only the subdirectory of bin appropriate to your platform, and perhaps doc/eclipse.
In any case, we will refer to this versioned directory where files are
ultimately placed as eclipse-directory.
We suggest making a single directory on your hard disk which will keep
all versions of Eclipse. For example, if you make a directory
/usr/elwood, then for each new version,
eclipse-directory will be
/usr/elwood/eclipse-1.0,
/usr/elwood/eclipse-1.1, etc.
unix commands will copy the entire contents of the CD to
a selected location on a hard disk:
mkdir directory-on-hard-disk cd directory-on-which-cd-is-mounted find . -depth -print | cpio -pd directory-on-hard-diskFor example, if you have a
/usr/elwood directory for all
versions of Eclipse directory-on-hard-disk,
above, is /usr/elwood. The commands above will create
the versioned eclipse-directory for you.
For additional instructions on creating and initializing this directory, see the "doc/eclipse/UNPACKING" file which was included in the distribution.
make clean-auxiliary
command that does this. For example, as root, change to the binary
directory of the previous release (eg. bin/sparc,
bin/hppa, etc.) and type make
clean-auxiliary. If you do not have a standard
make command for your operating system, you will have to
clean up after any previous Eclipse releases by hand.
eclipse program
is a stand-alone, ready to run program, and is located in
eclipse-directory/bin/platform. Here
platform is one of windows,
sparc,
hppa, etc. You can run the executable as you would any other program.
However there are some "quality of life" things you might
want to do:
eclipse executable is in your
$PATH. There are two ways to do this:
.cshrc, .login, or
.profile, as appropriate, to include the directory
eclipse-directory/bin/platform in your $PATH
environment variable.
eclipse-directory/bin/platform/eclipse
to some place which is already on your path. For example, on Unix
systems, if /usr/local/bin is on your path and you have
write permission there, use:
ln -s eclipse-directory/bin/platform/eclipse /usr/local/bin
The file
eclipse-directory/bin/platform/makefile
contains a setup command that will create the above
link, as well as those described below.
Thus, as root, one can do:
cd eclipse-directory/bin/platform; make setup
init.lisp file. See the "init.lisp" chapter.
ECLIPSEHOME environment variable (for
example, by editing your .cshrc or .profile
file.) ECLIPSEHOME is only used to provide a default
root for the "SYS" logical pathname host. See
"Site and Other Initial
Definitions".
eclipse-directory/bin/platform.
You can either:
cc -Ieclipse-directory/bin/platform
-Leclipse-directory/bin/platform
<other options and filenames>
-leclipse
The exact options accepted by your compiler may vary.
The file eclipse-directory/bin/plaform/makefile
contains a setup command that will create all the above
links. Thus one can do:
cd eclipse-directory/bin/platform; make setupN.B.: See "The Eclipse Library" to see how the library is set up in your implementation.