🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5549

Re: Writing small code in SAS/C 5.10

#5549
From: W. John Guineau
Date: Mon, 01 Oct 1990 14:19
30 lines
1699 bytes
In article <90273.111443UH2@psuvm.psu.edu>, UH2@psuvm.psu.edu (Lee Sailer)
writes:
|> From: UH2@psuvm.psu.edu (Lee Sailer)
|> Newsgroups: comp.sys.amiga.tech
|> Subject: Re: Writing small code in SAS/C 5.10
|> 
|> 
|> >Also, the main program itself is not the culprit, it is the linking process
|> >that increases your size.
|> 
|> 
|> Another thing that increases the final code size, at least in Lattice 4.01,
|> is the "startup code."  Before your main() gets executed, a program called
|> _main() is executed.  It is moderately large.
|> 
|> _main() sets up the WorkBench message port, parses the command line, and
|> other stuff like that.  You probably don't need it all.  You can find the
|> source to _main(), edit out the parts yopu don't need, and use it instead
|> of the general purpose original.
|>                                 lee
|> 

I've needed to hack up c.a a few times, and was wondering if it's was
legal to include the modified source (called myc.a or something) with
PD distributions which include source?

--
W. John Guineau   			guineau@wjg.enet.dec.com
Digital Equipment Corporation
Marlboro MA. 01752
Technical Details
Message-ID: <1990Oct1.101847@wjg.enet.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!wjg.enet.dec.com!guineau
References: <90273.111443UH2@psuvm.psu.edu> <13148@leadsv.UUCP> <12482@ogicse.ogi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!shlump.nac.dec.com!wjg.enet.dec.com!guineau
From: guineau@wjg.enet.dec.com (W. John Guineau)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Writing small code in SAS/C 5.10
Message-ID: <1990Oct1.101847@wjg.enet.dec.com>
Date: 1 Oct 90 14:19:42 GMT
References: <90273.111443UH2@psuvm.psu.edu> <13148@leadsv.UUCP> <12482@ogicse.ogi.edu>
Sender: newsdaemon@shlump.nac.dec.com
Reply-To: guineau@wjg.enet.dec.com
Organization: Digital Equipment Corporation, Marlboro, MA
Lines: 30