home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-28 | 2.2 KB | 51 lines | [TEXT/Earl] |
- This program can be compiled with MPW C 2.0.2, Aztec C 3.6c, or
- LightSpeedC 2.15. Makefiles exist for MPW C, and for Aztec C using the
- MPW Shell.
-
- MPW C 2.0.2:
-
- The Makefile for MPW C defines the default include file path to look
- in this folder first. Thus it uses my stdio.h file, and not the MPW
- stdio.h. (╡EMACS does not use stdio.) The folder "src" and the
- folder "includes" must be in the same parent folder for this to work.
-
- This version of ╡EMACS uses the Pascal style interface to many of the
- ToolBox routines which is new for MPW C, version 2. It will not work
- with MPW C, version 1. I have changed ALL of my {CIncludes} header
- files to use the Inside Macintosh spellings for Pascal and Inline
- toolbox calls, e.g. GETNAMEDRESOURCE -> GetNamedResource. I have
- removed all the declarations for the old-style MPW glue routines, and I
- have purged the glue routines from my copy of {CLibraries}CInterface.o.
- These changes should make the source compatible with MPW C 3.0, which I
- do not have, unfortunately.
-
- Aztec C 3.6c:
-
- The Aztec C version uses the new-style MPW compatible header files, and
- the Pascal interface to the ToolBox. The Makefile in this case defines
- the pre-processor macro "_INLINE" so that this will work. The Aztec C
- code is essentially the same as the MPW code. The pre-defined symbols
- "macintosh" (MPW) and "MPU68000" (Aztec) are used in a few places where
- necessary.
-
- LightSpeedC¬ v2.15:
-
- For LightSpeedC¬, there is no way to set the include path except by copying
- the include files to the folder where LightSpeedC¬ resides. Make a backup
- of your LightSpeedC¬ stdio.h file. Then, copy mine and the file pbmacros.h
- to the folder with LightSpeedC¬ in it. This may change with new versions
- of the compiler.
-
- All systems:
-
- Edit the following two lines to define your system in stdio.h:
-
- #define LSC 0 /* If LightSpeedC¬ */
- #define MPW 1 /* If MPW C 2.0.2 or Aztec C 3.6c */
-
- The copy of :includes:stdio.h as I distribute it is set up for
- compilation with MPW C 2.0.2 or Aztec C 3.6c. To use, set the default
- directory to :src:, copy either Makefile.MPW or Makefile.Aztec to
- Makefile, and type "buildprogram ╡emacs." There is no Makefile for use
- with the Aztec Shell at present.
-