home *** CD-ROM | disk | FTP | other *** search
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;; ;;;
- ;;; AKCL (Austin Kyoto Common Lisp) Version (1.599) for NeXT computers ;;;
- ;;; ;;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- Noritake Yonezawa
- Department of Computer Science
- University of Illinois at Urbana-Champaign
- yonezawa@cs.uiuc.edu
-
- August 1, 1991
-
-
- This AKCL port runs on NeXT OS 2.0 or later.
-
- Current version uses GCC-1.40 and modified GAS-1.38.1 instead of NeXT's (g)cc
- and (g)as to compile C-files generated by the AKCL compiler. It doesn't
- work well with NeXT's (g)as.
-
- The restrictions of this port are as follows:
-
- * The process size of running AKCL is fixed.
- * SYSTEM::FASLINK is not supported.
-
-
- How to compile and install
- --------------------------
-
- DON'T follow the instructions in akcl-1-599/README.
- It's for the original AKCL. Especially, DON'T run add-defs
- that will overwrite to makefiles I already hacked.
-
- 0.1. If you don't have /usr/local/src, make it as follows:
-
- mkdirs /usr/local/src
-
- 0.2. Uncompress and untar the distribution file there:
-
- mv AKCL-1-599-NeXT.src.tar.Z /usr/local/src
- cd /usr/local/src
- uncompress -c AKCL-1-599-NeXT.src.tar.Z | tar -xvf -
-
- 1.1. Make AKCL library directory as follows:
-
- mkdirs /usr/local/lib/kcl
-
- 1.2. If you don't have /usr/local/bin, make it as follows:
-
- mkdirs /usr/local/bin
-
- 2.1. Compile GCC as follows:
-
- cd /usr/local/src/gcc-1.40
- make
-
- 2.2. Install GCC binaries as follows:
-
- make install
-
- "kcl-cc", "kcl-cc1", and "kcl-cpp" are installed in /usr/local/lib/kcl.
-
- 3.1. Compile GAS as follows:
-
- cd /usr/local/src/gas-1.38.1.hacked
- make
-
- 3.2. Install GAS as follows:
-
- make install
-
- "kcl-as" is installed in /usr/local/lib/kcl.
-
- 4.1. If you want to change the process size of AKCL,
- modify the following value at line 7 in
- /usr/local/src/akcl-1-599/c/sbrkNeXT.c:
-
- int big_heap = 0x1000000;
-
- 4.2. Compile AKCL as follows:
-
- cd /usr/local/src/akcl-1-599
- make -f Smakefile
-
- 4.3. If the compilation is done successfully,
- "saved_kcl" is made in /usr/local/src/akcl-1-599/unixport.
- Try /usr/local/src/akcl-1-599/xbin/kcl.
- It is a shell script that invokes the saved_kcl.
-
- 4.4. Move executable files as follows:
-
- mv /usr/local/src/akcl-1-599/unixport/saved_kcl /usr/local/lib/kcl
- mv /usr/local/src/akcl-1-599/xbin/kcl /usr/local/bin
-
- 4.5. Edit /usr/local/bin/kcl as follows:
-
- #!/bin/sh
- /usr/local/lib/kcl/saved_kcl /usr/local/lib/kcl/
-
- 4.6. Add /usr/local/bin to your $path. Don't forget to rehash.
- Now you are ready to run AKCL. Try:
-
- kcl
-
-
- A hint to link your C object files and libraries in AKCL
- --------------------------------------------------------
-
- Add your extra C object files and libraries to the following lines
- in /usr/local/src/akcl-1-599/unixport/makefile:
-
- EXTRAS= $(ODIR)/sbrkNeXT.o $(ODIR)/unexNeXT.o $(ODIR)/seekNeXT.o
- LIBS= -lm -lg
-
- They will be linked in /usr/local/src/akcl-1-599/unxport/raw_kcl
- when making saved_kcl.
-
- --
- Noritake Yonezawa <yonezawa@cs.uiuc.edu>
- Department of Computer Science
- University of Illinois at Urbana-Champaign
-