Date: Sun, 3 Oct 1999 11:56:28 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Gautier cc: djgpp AT delorie DOT com Subject: Re: Linker trimming unused code/data In-Reply-To: <37F550CC.F8732E7@Maths.UniNe.CH> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 2 Oct 1999, Gautier wrote: > But as a module is a whole and can be used in many different > projects, it would be annoying to subdivide it > excessively, or for particular purposes, leading to > different versions of the same things floating around... What you need to do is to divide a single module into several smaller modules. Then the linker will only link in those modules which you actually need in your program.