Revision 16,
1.7 KB
checked in by marcus, 14 years ago
(diff) |
r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines
Initial import
|
Line | |
---|
1 | |
---|
2 | ! file install_unix.txt |
---|
3 | ! ---------------- |
---|
4 | ! |
---|
5 | ! version 2, 19-Mar-97 |
---|
6 | ! |
---|
7 | ! Installation guide for SH/SHM |
---|
8 | ! K. Stammler, 1995 |
---|
9 | |
---|
10 | |
---|
11 | THIS FILE IS OUTDATED. PLEASE FOLLOW THE PROCEDURE DESCRIBED ON THE |
---|
12 | WEBPAGE http://www.szgrf.bgr.de/sh-doc |
---|
13 | |
---|
14 | |
---|
15 | INSTALLATION OF SH/SHM ON A UNIX MACHINE |
---|
16 | ---------------------------------------- |
---|
17 | |
---|
18 | i) select parent directory for SH directory tree |
---|
19 | % cd <parent-dir> |
---|
20 | |
---|
21 | ii) tar all files from tar archive to this directory |
---|
22 | % tar xvf /dev/rst0 |
---|
23 | % # or |
---|
24 | % tar xvf sh_src.tar |
---|
25 | |
---|
26 | iii) change directory to new created sh directory |
---|
27 | % cd sh |
---|
28 | |
---|
29 | iv) Edit the file setup/shsetup and set the root path 'shcroot' to |
---|
30 | the actual value. If you need to compile the source you also |
---|
31 | should set the correct compiler (must be an ANSI compiler like |
---|
32 | acc or gcc) and the appropriate compiler switches. |
---|
33 | % vi setup/shsetup |
---|
34 | |
---|
35 | v) run shsetup. This should create two directories ~/sh/shscratch and |
---|
36 | ~/sh/private and define environment variables SH_... |
---|
37 | This works on C-shells only, sorry for this. |
---|
38 | % source setup/shsetup |
---|
39 | |
---|
40 | |
---|
41 | If you are able to use the executables (if provided in the tar-file) |
---|
42 | you are finished with installation and should be able to run the |
---|
43 | program by typing 'SH'. If you have to recompile the source you |
---|
44 | have to continue. |
---|
45 | |
---|
46 | |
---|
47 | vi) cd to the root directory and make SH |
---|
48 | for SH alone: |
---|
49 | % cd $SH_ROOT |
---|
50 | % make depend |
---|
51 | % make |
---|
52 | % make world |
---|
53 | |
---|
54 | for SH and SHM: |
---|
55 | % cd $SH_ROOT |
---|
56 | % make depend_shm |
---|
57 | % make shm |
---|
58 | % make world |
---|
59 | |
---|
60 | Now you may start shc_world by the alias SH and shc by SH_N. |
---|
61 | Similarly, use SHM for shm_world and SHM_N for shm. |
---|
Note: See
TracBrowser
for help on using the repository browser.