home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / boota / !CCompile / !Help < prev    next >
Encoding:
Text File  |  1991-12-07  |  1.5 KB  |  36 lines

  1. !CCompile application
  2. ---------------------
  3.  
  4. This application provides a simple Desktop front-end to the
  5. AcornSoft ANSI C compiler Version 3 (using !BootA to provide the
  6. front-end). It still works with Version 4 of the compiler, but
  7. since that has its own desktop environment, this application, or
  8. others like it are unnecessary.
  9.  
  10. Drag a C source file to the !CCompile icon on the icon bar to compile
  11. it.
  12.  
  13. The file must reside in a directory named "c" and the parent
  14. directory of this "c" directory must also contain the other
  15. directories required by the ANSI C compiler ("h", "o", "l" and "s"
  16. directories). The !RunA Obey file for the !CCompile application
  17. sets the current directory to this parent directory (as expected
  18. by the ANSI C compiler Version 3).
  19.  
  20. The !CmdOpts file contains the default options to be used in the
  21. compilation. As distributed these are set to "-c -list" which in
  22. Version 3 of the ANSI C compiler causes compilation only to occur
  23. (no linking) and writes a compilation listing  to the "l"
  24. directory.
  25.  
  26. Error messages from the compilation are displayed in the output
  27. window, but this is of limited use if there are several errors.
  28. The use of the "-list" option in CmdOpts provides a compilation
  29. listing with embedded error messages in the "l" directory. This
  30. can then be loaded into !Edit for inspection at the same time as
  31. the C source file is being re-edited.
  32.  
  33. Note that the !Boot and !Run files for this application define
  34. file type 00C and 00D to be "c-source" and "c-header"
  35. respectively. The !sprites file contains sprites for these file
  36. types.