[net.micro.amiga] Lattice C

kidwell@nswc-wo (11/26/85)

From: Michael Kidwell <kidwell@nswc-wo>

Subject: Developer's Kit for Amiga
Is the Lattice C compiler with libraries available from Commodore as
a separate item (as manuals and assembler are) or must it be purchased
from Lattice?  If it is available from Commodore, what is the price and
availability?  If not, what will be the price and availability anyway?
Thanks for any help you can provide.  I would like to get the full
documentation package and C but am not sure that the rest of the developer's
package is useful to me at the moment.

                          Michael Kidwell
-------

dillon@ucbvax.berkeley.edu.BERKELEY.EDU (Matt Dillon) (01/24/86)

	There are several reasons why your "small" lattice C programs
Take so much room:

	(A) the Xstartup.obj is also included.  This is the startup
module which breaks up the arguments and calls main()... It also
happens to use STDIO, therefore the stdio library routines are also
linked in.

	(B) for those of you who havent guessed yet, printf() and 
associated functions take about 10K of space.

To REALLY test code size, write a C program which doesn't call ANY
library routines, then link it without all the other garbage:

	alink x.o to a

NOW you can use WACK ... notice that the code is rather smaller?  Now
do you understand how it works??? ALL those files you had to link in
are your support routines, etc....

				<sigh>
				-Matt