home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 221_01 / readme.doc < prev    next >
Encoding:
Text File  |  1979-12-31  |  2.0 KB  |  45 lines

  1.                      Small C Compiler
  2.  
  3.  
  4. ******************************************************************
  5. *                                                                *
  6. *   To use this small C compiler, you should have the            *
  7. *   TSC relocatable assembler, LIB-GEN and linking loader.       *
  8. *                                                                *
  9. ******************************************************************
  10.  
  11. The distribution disk(s) contains several files.  First read the
  12. file CC.DOC which contains the documentation of the compiler.
  13.  
  14. The source code of the C compiler is included. The naming is
  15. cc1.c to cc9.c and cc11.c to cc91.c, also ccdef.c (the definition
  16. of some usefule macroes) and stdio.h (the standart i/o module)
  17. are source files. Another source file is CCPOLL.C a module,
  18. which checks if there was a character entered at the keyboard.
  19.  
  20. Also the compiled and optimized sources are included. The 
  21. filenames are CC1.ASM to CC9.ASM.
  22.  
  23. The compiler works on a FLEX system.  It uses the known entry 
  24. points of the operating system.  It should work like it is.
  25. If you want to change the system equates, look in the CCEQU.SYS.
  26. It contains all system dependent equates.
  27.  
  28. Before starting to build up the compiler, make sure, that you
  29. have a copy of the distribution disk and maybe also off your system
  30. disk if you don't have already one.
  31.  
  32. To build the compiler use the following command files:
  33.  
  34.       - CCASM.COM    (this will assemble all c sources)
  35.       - CCBUILD.COM  (this will build the C run time library)
  36.       - CCLOAD.COM   (this will link the compiler)
  37.  
  38. This procedure will take some time.  I think it's a good idea to drink
  39. in the meantime a cup of coffee.
  40.  
  41. At the end you should have a runable C Compiler.  If you have for
  42. some reason difficulties, look as mentioned before in the module
  43. CCEQU.SYS, which contains the FLEX system equates for my system.
  44. It may happen, that you have to change some.
  45.