home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / plm.zip / plm / README.OS2 < prev    next >
Text File  |  2000-05-09  |  2KB  |  53 lines

  1. README for the OS/2 port of the PL/M Compiler
  2. Peter Flass <peter_flass@yahoo.com>  May, 2000
  3.  
  4. The PL/M-80 compiler was written in FORTRAN.  I have converted
  5. it to C using the freely available "f2c" package.  It was
  6. compiled using emx 0.9d, fix 2, although other versions would
  7. probably work as well.  The header and library for f2c have been
  8. included to allow the programs to be rebuilt.  The complete source
  9. and documentation is available. (I got mine at Leo).
  10.  
  11. The directory 'source' contains the following:
  12.       fortran.zip - the original sources for plm81.for and plm82.for
  13.       plm81.c
  14.       plm82.c     - the converted C sources from f2c
  15.       plm81.err
  16.       plm82.err   - the warning files from the f2c conversion
  17.                     (mostly unused variables)
  18.       f2c.a       - run-time library required by programs converted by f2c.
  19.       f2c.h       - header file required by programs converted by f2c.
  20.       disclaimer.f2c
  21.       permission.f2c 
  22.                   - original license for f2c.
  23.       makefile    - makefile for rebuilding plm81.exe and plm82.exe
  24.       plm81.exe
  25.       plm82.exe   - executables for pass1 and pass2
  26.  
  27. The directory 'test' contains the following:
  28.                     (distributed with the PL/M compiler source)
  29.       PLMSAMP.PLM - small sample program
  30.       PLMSAMP.HEX - compiled version of PLMSAMP.PLM, requires an absolute loader
  31.                     (not included.)
  32.  
  33. The base directory contains the following:
  34.       PLMCOMP.DOC - Documentation on compiler switches
  35.       PLMLANG.DOC - Brief introduction to the PL/M language
  36.       README.PLM  - Introduction and copyright information 
  37.       README.OS2  - This file
  38.       plm81.exe
  39.       plm82.exe   - Pass1 and Pass2 of the compiler
  40.       plm.cmd     - Rexx command file for runing the compiler
  41.       dummy       - file needed to run plm.cmd
  42.  
  43.       PLMSAMP.PRN - listing file for PLMSAMP.PLM
  44.  
  45. To compile a PL/M program, just execute the command: 
  46.          plm <file>.
  47. for example, to compile the sample proram, type: 
  48.          plm test\plmsamp
  49. This compiles the source 'test\plmsamp.plm' and generates the 
  50. listing file 'plmsamp.prn' and the absolute file
  51. for the loader 'plmsamp.hex' in the current directory.
  52.  
  53.