Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.tn.cornell.edu (braner) Newsgroups: comp.sys.atari.st Subject: Re: C Compiler Startup Code Message-ID: <1974@batcomputer.tn.cornell.edu> Date: Thu, 8-Jan-87 23:24:47 EST Article-I.D.: batcompu.1974 Posted: Thu Jan 8 23:24:47 1987 Date-Received: Fri, 9-Jan-87 06:15:05 EST References: <8701082100.AA14694@ucbvax.Berkeley.EDU> Reply-To: braner@batcomputer.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 11 [] The Megamax C compiler only adds about 1500 byte or so (this is from my memory...) for the startup code. Not really that bad. One trick it uses is that if you write "main()" with no arguments it skips the I/O redirection stuff. Code for malloc(), for example, is linked in only if you actually use it. BUT: it includes a bunch of library modules, with descriptive names like "fopen". I can't believe all of that is really necessary, and would like to reduce it even further. - Moshe Braner