home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / c / cpp.lha / README.amiga < prev    next >
Text File  |  1991-10-21  |  2KB  |  61 lines

  1. AmigaDOS port of TI COOL cpp by Per Bojsen (bojsen@dc.dth.dk) 1991
  2.  
  3. Summary of porting decisions and minor changes:
  4.  
  5. 0) The port was done using SAS/C 5.10a
  6.  
  7. 1) Amiga specific code is marked by #ifdef AMIGA or SYS_AMIGA.
  8.  
  9. 2) Introduced SYS_AMIGA define in cppdef.h and definitions for various
  10.    defines relevant to the Amiga (marked by SYS_AMIGA).
  11.  
  12. 3) Cpp looks in the following directories for include files specified
  13.    with <>: HEADER: and then INCLUDE: (if they exist).  If you're using
  14.    SAS/C compressed header files you'd put them in the INCLUDE: dir,
  15.    and the uncompressed header files in HEADER:.  Note that cpp does
  16.    not handle compressed header files.
  17.  
  18.    The code handling this is in cpp3.c.
  19.  
  20. 4) External macro expanders currently use temporary files.  They should
  21.    use pipes.
  22.  
  23. 5) Too support `imake' I introduced some changes to the way comments are
  24.    handled in connection with preprocessor directives.  Cpp would
  25.    basically allow comments on the start of the line in which a #-
  26.    directive occured.  This feature has been removed at the expense of
  27.    allowing /**/ token pasting (comments expand to the empty string
  28.    as opposed to the ANSI behavior where comments expand to a single
  29.    space).
  30.  
  31.    Also, leading white space is now retained, but transformed to tabs
  32.    and spaces.
  33.  
  34.  
  35. The Makefile:
  36.  
  37. The Makefile may be configured for the processor type you have.  If you
  38. don't have the `butility.lib' then just comment it out.  The library
  39. contains enhanced versions of some of the functions in the SAS standard
  40. C library.
  41.  
  42.  
  43. The executable:
  44.  
  45. The executable as distributed is compiled for the M68030, and linked with
  46. butility.lib, and requires 2.04 (V37 Kickstart).  The port itself does not
  47. require 2.0, so if you build it yourself you should be able to make a
  48. version runable on AmigaOS 1.3.
  49.  
  50.  
  51. Send any bugreports and/or praise to:
  52.  
  53.         bojsen@dc.dth.dk
  54.         bojsen@moria.dc.dth.dk
  55.         cbmvax!cbmehq!lenler!bojsen
  56.  
  57.         Per Bojsen
  58.         Maglegaards Alle 51, st. th.
  59.         DK-2860 Soeborg
  60.         Denmark
  61.