home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
prog
/
c
/
cpp.lha
/
README.amiga
< prev
next >
Wrap
Text File
|
1991-10-21
|
2KB
|
61 lines
AmigaDOS port of TI COOL cpp by Per Bojsen (bojsen@dc.dth.dk) 1991
Summary of porting decisions and minor changes:
0) The port was done using SAS/C 5.10a
1) Amiga specific code is marked by #ifdef AMIGA or SYS_AMIGA.
2) Introduced SYS_AMIGA define in cppdef.h and definitions for various
defines relevant to the Amiga (marked by SYS_AMIGA).
3) Cpp looks in the following directories for include files specified
with <>: HEADER: and then INCLUDE: (if they exist). If you're using
SAS/C compressed header files you'd put them in the INCLUDE: dir,
and the uncompressed header files in HEADER:. Note that cpp does
not handle compressed header files.
The code handling this is in cpp3.c.
4) External macro expanders currently use temporary files. They should
use pipes.
5) Too support `imake' I introduced some changes to the way comments are
handled in connection with preprocessor directives. Cpp would
basically allow comments on the start of the line in which a #-
directive occured. This feature has been removed at the expense of
allowing /**/ token pasting (comments expand to the empty string
as opposed to the ANSI behavior where comments expand to a single
space).
Also, leading white space is now retained, but transformed to tabs
and spaces.
The Makefile:
The Makefile may be configured for the processor type you have. If you
don't have the `butility.lib' then just comment it out. The library
contains enhanced versions of some of the functions in the SAS standard
C library.
The executable:
The executable as distributed is compiled for the M68030, and linked with
butility.lib, and requires 2.04 (V37 Kickstart). The port itself does not
require 2.0, so if you build it yourself you should be able to make a
version runable on AmigaOS 1.3.
Send any bugreports and/or praise to:
bojsen@dc.dth.dk
bojsen@moria.dc.dth.dk
cbmvax!cbmehq!lenler!bojsen
Per Bojsen
Maglegaards Alle 51, st. th.
DK-2860 Soeborg
Denmark