home *** CD-ROM | disk | FTP | other *** search
- !CCompile application
- ---------------------
-
- This application provides a simple Desktop front-end to the
- AcornSoft ANSI C compiler Version 3 (using !BootA to provide the
- front-end). It still works with Version 4 of the compiler, but
- since that has its own desktop environment, this application, or
- others like it are unnecessary.
-
- Drag a C source file to the !CCompile icon on the icon bar to compile
- it.
-
- The file must reside in a directory named "c" and the parent
- directory of this "c" directory must also contain the other
- directories required by the ANSI C compiler ("h", "o", "l" and "s"
- directories). The !RunA Obey file for the !CCompile application
- sets the current directory to this parent directory (as expected
- by the ANSI C compiler Version 3).
-
- The !CmdOpts file contains the default options to be used in the
- compilation. As distributed these are set to "-c -list" which in
- Version 3 of the ANSI C compiler causes compilation only to occur
- (no linking) and writes a compilation listing to the "l"
- directory.
-
- Error messages from the compilation are displayed in the output
- window, but this is of limited use if there are several errors.
- The use of the "-list" option in CmdOpts provides a compilation
- listing with embedded error messages in the "l" directory. This
- can then be loaded into !Edit for inspection at the same time as
- the C source file is being re-edited.
-
- Note that the !Boot and !Run files for this application define
- file type 00C and 00D to be "c-source" and "c-header"
- respectively. The !sprites file contains sprites for these file
- types.