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