delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/22/00:53:29

Date: Mon, 22 Jul 1996 07:49:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Mike A. Harris" <mharris AT blackwidow DOT saultc DOT on DOT ca>
Cc: Bruce Foley <brucef AT central DOT co DOT nz>, djgpp AT delorie DOT com
Subject: Re: How do I create my own libraries ?
In-Reply-To: <Pine.LNX.3.91.960721193703.10120A-100000@blackwidow.saultc.on.ca>
Message-Id: <Pine.SUN.3.91.960722074747.7625B-100000@is>
Mime-Version: 1.0

On Sun, 21 Jul 1996, Mike A. Harris wrote:

> This posed an interesting learning experience.  So ever since then, when
> coding libs, I've used one function per module.  This prevents unneeded
> code from bloating executables.
> 
> Is this also true of DJGPP?  What about other compilers?  Should one always
> code LIBs as one function per module source files?

Yes, it's the same with DJGPP.  The DJGPP C library almost always puts 
every function on its own source file for this reason.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019