home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
plm.zip
/
plm
/
README.OS2
< prev
next >
Wrap
Text File
|
2000-05-09
|
2KB
|
53 lines
README for the OS/2 port of the PL/M Compiler
Peter Flass <peter_flass@yahoo.com> May, 2000
The PL/M-80 compiler was written in FORTRAN. I have converted
it to C using the freely available "f2c" package. It was
compiled using emx 0.9d, fix 2, although other versions would
probably work as well. The header and library for f2c have been
included to allow the programs to be rebuilt. The complete source
and documentation is available. (I got mine at Leo).
The directory 'source' contains the following:
fortran.zip - the original sources for plm81.for and plm82.for
plm81.c
plm82.c - the converted C sources from f2c
plm81.err
plm82.err - the warning files from the f2c conversion
(mostly unused variables)
f2c.a - run-time library required by programs converted by f2c.
f2c.h - header file required by programs converted by f2c.
disclaimer.f2c
permission.f2c
- original license for f2c.
makefile - makefile for rebuilding plm81.exe and plm82.exe
plm81.exe
plm82.exe - executables for pass1 and pass2
The directory 'test' contains the following:
(distributed with the PL/M compiler source)
PLMSAMP.PLM - small sample program
PLMSAMP.HEX - compiled version of PLMSAMP.PLM, requires an absolute loader
(not included.)
The base directory contains the following:
PLMCOMP.DOC - Documentation on compiler switches
PLMLANG.DOC - Brief introduction to the PL/M language
README.PLM - Introduction and copyright information
README.OS2 - This file
plm81.exe
plm82.exe - Pass1 and Pass2 of the compiler
plm.cmd - Rexx command file for runing the compiler
dummy - file needed to run plm.cmd
PLMSAMP.PRN - listing file for PLMSAMP.PLM
To compile a PL/M program, just execute the command:
plm <file>.
for example, to compile the sample proram, type:
plm test\plmsamp
This compiles the source 'test\plmsamp.plm' and generates the
listing file 'plmsamp.prn' and the absolute file
for the loader 'plmsamp.hex' in the current directory.