home *** CD-ROM | disk | FTP | other *** search
/ ftp.uni-stuttgart.de/pub/systems/acorn/ / Acorn.tar / Acorn / acornet / dev / oberon / potsrc.spk / ReadMe1st
Text File  |  1995-05-08  |  2KB  |  65 lines

  1. pOtSrc
  2.  
  3.   The complete source code for the archimedes port of pOt.
  4.   Not all the files from the original pot are here, only the
  5.   ones useful on the archimedes.
  6.  
  7.   The original sources are available by anon ftp at:
  8.  
  9.     hades.ethz.ch
  10.   
  11.   in /pub/Oberon/NonETHSystems/pOt
  12.  
  13.  
  14. Installation
  15.  
  16.   Drag the pot directory over the pot directory in the binary
  17.   distribution.
  18.   Note that the Cym., h. and mod. subdirectories in lib and
  19.   lib.Core are identical.
  20.  
  21.  
  22. Compiling
  23.  
  24.   You will have to make your own Makefiles. I use !Make to generate
  25.   them, but I have some tools in there that will probably upset your
  26.   !Make, because !Make doesn't like tools it doesn't know about.
  27.   The MakefileU files show which files *really* should be compiled by
  28.   the C compiler. Don't forget to add pOtLand: to your include path
  29.   and to turn off all warnings (there are mainly complaints about unused
  30.   labels and <pOtRTL.n> not being an ANSI C header with Desktop C v4)
  31.   
  32.   The */rsp files in the src subdirectory are input files for pOt.
  33.   I haven't used them, they are probably easiest to use
  34.   from the command line as
  35.   
  36.     pot !*/rsp
  37.  
  38.   
  39. Note
  40.  
  41.   In the src subdirectory are three extra Oberon modules and one extra
  42.   C file compared to the original distribution.
  43.  
  44.   mod.DDEUtils : just some constants.
  45.   mod.Throwback: Throwback support for !pOt. Note the use of SYSTEM.ADR().
  46.                  The obvious way (taking the address of the RECORD) 
  47.                  doesn't work as expected (at least by me).
  48.   mod.CLib     : Shows the way to call a non-Oberon (E.g C) external 
  49.                  function. Oberon doesn't allow underscores in 
  50.                  identifiers. Therefore the C file c._Clib has a wrapper
  51.                  for _kernel_swi.
  52.   c._CLib      : Wrapper for _kernel_swi.
  53.  
  54.   The file c.POT_Compil has some bits added as well (the stuff after
  55.   #ifdef __riscos).
  56.   
  57.  
  58. Contacting me
  59.  
  60.   email: svdwal@xs4all.nl
  61.   snail mail: Sander van der Wal
  62.               Bevrijdingsplein 39
  63.               2321 BX Leiden
  64.               The Netherlands
  65.