Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!PAVEPAWS.BERKELEY.EDU!dillon From: dillon@PAVEPAWS.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: printf() code size using Astartup.obj and AMIGA.LIB only Message-ID: <8606270438.AA07486@pavepaws> Date: Fri, 27-Jun-86 00:38:56 EDT Article-I.D.: pavepaws.8606270438.AA07486 Posted: Fri Jun 27 00:38:56 1986 Date-Received: Sat, 28-Jun-86 03:45:22 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 16 This should lay to rest any further arguments about printf(). (linking only with AMIGA.LIB and Astartup.obj, Lattice C 3.03) source executable main() {} 1880 main() {printf("hello\n");} 2376 As you can see, printf() takes 496 bytes, PERIOD, when called from amiga.lib (it may or may not use the DOS run-time library, but that doesn't really matter). -Matt