🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #25052

Re: C Compiler Startup Code

#25052
From: dan dexter
Date: Fri, 16 Jan 1987 17:21
44 lines
2041 bytes
<<-- lineater beware -->>

Well, here's the sad news for those of us with Lattice C . . .

I have the Lattice 68000 C Compiler from MetaComCo Version 3.03.04 and
the linker signs on as GST 68000 Linker R132V039.
After compiling the empty program, here are the results:

           MAIN.PRG     10264 bytes
           MAIN.BIN        73 bytes

I linked using the standard C.LNK file that came with the compiler which
links in the file STARTUP.BIN and uses CLIB.BIN as a library.

           CLIB.BIN     55091 bytes
           STARTUP.BIN    887 bytes

This sure seems like a lot of extra stuff especially when I compare to what
has already been posted from other compilers.  UGH.

I have included the following numbers that have been posted for comparison.

>From:         Don Howes <HOWESDW@WSUVM1>
>
>Here are the results from some compilers I have access to, to compare
>against:
>
>Ecosoft Eco-C88              (MSDOS)          1536 bytes
>Datalight C                  (MSDOS)          2674 bytes
>Microsoft C 4.0              (MSDOS)          1986 bytes
>Alcyon C (pre 4.14)          (GEM)            6271 bytes
>
>From: LSI@UMass.BITNET (Peter Lawall, Logical Solutions, (413) 256-6800)
>Here are two more code sizes for the "empty program":
>main()
>{}
>
>Old Version of Alcyon C on CP/M68K: 9856 bytes!
>LightSpeed C on the Macintosh     : 1544 bytes
>
>From: braner@batcomputer.tn.cornell.edu (braner)
>
>The Megamax C compiler only adds about 1500 byte or so (this is from
>my memory...) 
Technical Details
Message-ID: <526@dshovax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!cae780!tektronix!reed!omssw2!dshovax!dan

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!cae780!tektronix!reed!omssw2!dshovax!dan
From: dan@dshovax.UUCP (dan dexter)
Newsgroups: comp.sys.atari.st
Subject: Re: C Compiler Startup Code
Message-ID: <526@dshovax.UUCP>
Date: Fri, 16-Jan-87 12:21:54 EST
Article-I.D.: dshovax.526
Posted: Fri Jan 16 12:21:54 1987
Date-Received: Tue, 20-Jan-87 23:35:28 EST
Distribution: na
Organization: Intel Corp., Hillsboro, OR
Lines: 44