Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!caip!cbmvax!higgin From: higgin@cbmvax.cbm.UUCP (Paul Higginbottom) Newsgroups: net.micro.amiga Subject: Re: Question about Alink Message-ID: <247@cbmvax.cbmvax.cbm.UUCP> Date: Thu, 15-May-86 13:54:04 EDT Article-I.D.: cbmvax.247 Posted: Thu May 15 13:54:04 1986 Date-Received: Sat, 17-May-86 03:41:00 EDT References: <928@h-sc2.UUCP> Reply-To: higgin@cbmvax.UUCP (Paul Higginbottom) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 33 In article <928@h-sc2.UUCP> wen_2@h-sc2.UUCP writes: > >Is it possible for those of us outside of West Chester and Los Gatos to use >Alink to produce short executables? For example, is it possible to link a >"hello, world" to a less-than-10K executable, and how is this done? I know >it IS done, (look in c: for examples) but can I do it, too? > > A. Wen > wen@harvunxu.BITNET > wen%h-sc4@harvard.HARVARD.EDU > ---- The programs written by Amiga were not linked using ALINK, nor were they compiled under Lattice. Some are BCPL programs, and others are compiled on Sun computers under another compiler. I would guess that the current state of the libraries and the Lattice compiler make it impossible to make "hello" in under 10K. I'm not sure if using "puts()" instead of printf() might help, if such a function exists under Lattice. As I said before, hello.c compiles and links to 4720 bytes under Aztec C. To re-iterate on size, a friend re-wrote the echo command in assembler, and it was less than 30 bytes!!!! Regards, Paul Higginbottom Disclaimer: I do not work for Commodore, and my opinions are at least my own.