home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 092.lha / Small / read.me < prev    next >
Encoding:
Text File  |  1986-11-21  |  1.2 KB  |  23 lines

  1.  
  2.  
  3.     This is a collection of examples of how to make Lattice C executables
  4. as small as possible.  I am only passing on techniques thought of by others.
  5. There is no original thought on my part except for the code itself.  All of 
  6. the techniques used are based on readings and examples from the Lattice 4.0
  7. distribution disks.   The code examples on disk 4 in the directory
  8. extras/tricks lead the way on how to take the leap from small5.c to small6.c
  9. The reprint of an excerpt from The Amigan Apprentice & Journeyman Volume I, 
  10. number 6 titled "Oh, Say Can You C" written by John Toebes, was of huge help 
  11. in getting the code down to the size in small5.c.  I strongly suggest you 
  12. find a copy and read it if you can.  The explanations in the code are sparse,
  13. but the code progresses from small1.c to small6.c in a step by step manner 
  14. with usually not more than one change.  The changes are highlighted in the
  15. comments at the beginning each file.  If you find ways to make it smaller,
  16. please upload them.  I would also love to see the same sort of examples from
  17. someone with other C or Modula2 compilers.
  18.  
  19.         The example I have used only uses Amiga calls for I/O.  If you 
  20. need to use Printf or other such like, a lot of the techniques used will
  21. not benefit you.
  22.  
  23.