next up previous contents
Next: Reflective Memory Allocation Description Up: Software Previous: Software   Contents


Installation

Normally the software may be installed simply by checking out the ``reflmem'' module from the SMA CVS repository. This will create the directory reflmem, which should reside in the $COMMON/ directory. The software system may be built by typing make all in the reflmem directory.

For reference, this section shows how the files should be installed in the reflmem directory and its subdirectories (before compilation). The contents of the CVS directories have been omitted.

% cd $COMMON/
% ls -alR reflmem
reflmem/:
total 36
drwxrwxrwx   6 ckatz    ckatz        4096 May  8 11:45 ./
drwxr-xr-x  43 ckatz    ckatz        4096 May  8 11:45 ../
drwxrwxrwx   2 ckatz    ckatz        4096 May  8 11:45 CVS/
-rw-r--r--   1 ckatz    ckatz         436 Dec 30 14:02 Makefile
drwxr-xr-x   3 ckatz    ckatz        4096 May  8 11:45 api/
drwxr-xr-x   3 ckatz    ckatz        4096 May  8 11:45 doc/
drwxr-xr-x   3 ckatz    ckatz        4096 May  8 11:45 driver/
-rw-r--r--   1 ckatz    ckatz        7082 Dec 30 14:02 rm_allocation

reflmem/api:
total 56
drwxrwxrwx   3 ckatz    ckatz        4096 May  8 11:45 ./
drwxr-xr-x   6 ckatz    ckatz        4096 May  8 11:45 ../
drwxr-xr-x   2 ckatz    ckatz        4096 May  8 11:45 CVS/
-rw-r--r--   1 ckatz    ckatz         368 Dec  3 17:54 allocation.mk
-rw-r--r--   1 ckatz    ckatz         224 Dec  3 17:54 api.mk
-rw-r--r--   1 ckatz    ckatz       22407 Dec 30 14:25 rm.c
-rw-r--r--   1 ckatz    ckatz        3509 Dec 30 14:25 rm.h
-rwxr-xr-x   1 ckatz    ckatz        6615 Dec  3 17:54 rm_allocator*

reflmem/doc:
total 164
drwxr-xr-x   3 ckatz    ckatz        4096 May  8 11:45 ./
drwxr-xr-x   6 ckatz    ckatz        4096 May  8 11:45 ../
drwxr-xr-x   2 ckatz    ckatz        4096 May  8 11:45 CVS/
-rw-r--r--   1 ckatz    ckatz       31201 Feb 15 14:40 reflmem.tex

reflmem/driver:
total 88
drwxr-xr-x   3 ckatz    ckatz        4096 May  8 11:45 ./
drwxr-xr-x   6 ckatz    ckatz        4096 May  8 11:45 ../
drwxr-xr-x   2 ckatz    ckatz        4096 May  8 11:45 CVS/
-rw-r--r--   1 ckatz    ckatz         498 Dec  3 17:54 driver.mk
-rwxr-xr-x   1 ckatz    ckatz         569 Dec  3 17:54 find_driver_service_calls*
-rwxr-xr-x   1 ckatz    ckatz        1942 Dec  6 11:42 install_reflmem*
-rw-r--r--   1 ckatz    ckatz       49800 Dec  3 17:54 reflmem.c
-rw-r--r--   1 ckatz    ckatz        6775 Dec  3 17:54 reflmem.h

There must also be symbolic links in $COMMON/include and $COMMON/lib pointing to the C header and object library files:

% cd $COMMON
% ls -l include/ lib/
include:
lr--------   1 root           19 May  4 13:17 rm.h@ -> ../reflmem/api/rm.h

lib:
lr--------   1 root           19 May  4 13:17 rm.o@ -> ../reflmem/api/rm.o



2008-06-18