Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!ptsfa!jmc From: jmc@ptsfa.UUCP (Jerry Carlin) Newsgroups: comp.software-eng Subject: Re: Configuration Management (UNIX Linker) Message-ID: <4148@ptsfa.UUCP> Date: 26 Feb 88 16:18:09 GMT References: <5303@well.UUCP> Reply-To: jmc@ptsfa.UUCP (Jerry Carlin) Organization: Pacific * Bell, San Ramon, CA Lines: 18 In article <5303@well.UUCP> pokey@well.UUCP (Jef Poskanzer) writes: >Recap: I pointed out that the Unix linker includes all the routines that >were compiled from one file if any single routine from that file is referenced. >Since other linkers are smart enough to include just the desired routine... Actually, since this group is comp.software-eng, I'd like to state my opinion that one function per source file is a good way to go. If multiple functions per source file are useful for a given situation, they should all be strongly related so that if you are planning to use one you would typically use all of them rendering the problem moot. Given the UNIX V.3 shared library facility where only one copy of the routines is needed and is not present in all executables, the desire to limit size of binaries to the minimum has another way of being solved. -- Jerry Carlin (415) 823-2441 {ihnp4,lll-crg,ames,qantel,pyramid}!ptsfa!jmc soon: {ihnp4,lll-crg,ames,qantel,pyramid}!pacbell!ptsfa!jmc To dream the impossible dream. To fight the unbeatable foe.