home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / dosdjgpp / INSTALL < prev    next >
Encoding:
Text File  |  1994-08-30  |  2.3 KB  |  71 lines

  1. Installation on DOS using DJGPP:
  2. --------------------------------
  3.  
  4. ** WARNING **:
  5. The preferred DOS extender for CLISP is EMX. According to Ryu Young,
  6. <ryoung@utdallas.edu>, CLISP built with DJGPP exhibits the following problems:
  7. * Ctrl-C aborts the program ungracefully.
  8. * Running CLISP under Desqview/X results in a segment violation error and
  9.   halts the system.
  10. Additionally, I have observed the following problem:
  11. * If a program built with DJGPP is running at midnight, the DOS clock wraps
  12.   back by 24 hours (time switches back to 00:00 but the date doesn't advance).
  13.  
  14. 1. Get and install DJGPP.
  15.    DJGPP is D.J. Delorie's 32-bit extender. You can get it by anonymous ftp
  16.    from omnigate.clarkson.edu. You will need DJGPP 1.12 or newer.
  17.  
  18.    Install the real-mode C:\DJGPP\UTILS\GCC-RM\GCC.EXE as C:\DJGPP\BIN\GCC.EXE.
  19.    The 32-bit mode (default) gcc.exe has proved unusable for me.
  20.  
  21. 2. Make sure that \DJGPP\BIN is in your path, before any directory that
  22.    contains programs named CPP.EXE or AS.EXE. Set the environment variables
  23.    COMPILER_PATH, C_INCLUDE_PATH, LIBRARY_PATH and TEMP, GO32TMP, GO32, 387.
  24.    For example:
  25.  
  26.          PATH=C:\DJGPP\BIN;%PATH%
  27.          set COMPILER_PATH=c:/djgpp/bin
  28.          set C_INCLUDE_PATH=c:/djgpp/include
  29.          set LIBRARY_PATH=c:/djgpp/lib
  30.          set TEMP=c:/temp
  31.          set GO32TMP=c:/temp
  32.          set GO32=ansi driver c:\djgpp\drivers\tseng4k.grd gw 1024 gh 768 tw 132 th 43 nc 256
  33.          set 387=YES
  34.  
  35.    This must be done before executing ANY executable produced by DJGPP.
  36.  
  37. 3. Choose a directory for Clisp, say \CLISP.
  38.  
  39.          CD \CLISP
  40.  
  41.    Unpack the sources in this directory:
  42.  
  43.          PKUNZIP -d CLISP.ZIP
  44.    or
  45.          TAR xvf CLISP.TAR
  46.  
  47. 4. Convert the sources to the IBM PC character set.
  48.    They are distributed in ISO Latin-1 character set.
  49.  
  50.          cd dos
  51.          gcc -O cv_lt_pc.c -o cv_lt_pc
  52.          copy /b c:\djgpp\bin\go32.exe + cv_lt_pc cv_lt_pc.exe
  53.          del cv_lt_pc
  54.          cv_lt_pc < convert.bax > convert.bat
  55.          convert.bat
  56.          cd ..
  57.  
  58.    Edit DOSDJGPP\MAKEFILE and adjust the path c:\djgpp\bin\ therein
  59.    to fit your setup.
  60.  
  61.    Copy some DOSDJGPP specific files into SRC:
  62.  
  63.          DOSDJGPP\COPYX.BAT
  64.  
  65.    You may then delete unnecessary files:
  66.  
  67.          DOS\DELX.BAT
  68.  
  69. 5.-10. Proceed as described in dos/INSTALL 5.-10.
  70.  
  71.