Xref: news2.mv.net comp.os.msdos.djgpp:6366 From: jching AT aloha DOT com (Jimen Ching) Newsgroups: comp.os.msdos.djgpp Subject: Re: How do I create my own libraries ? Date: 24 Jul 1996 04:20:05 GMT Organization: Coconut Wireless Lines: 15 Message-ID: <4t489l$gjv@news.aloha.com> References: NNTP-Posting-Host: mango.aloha.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: >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. Is this what the Standard C document suggests as an implementation? Does the GCC distribution also have this problem? --jc -- Jimen Ching (WH6BRR) jching AT aloha DOT com wh6brr AT uhm DOT ampr DOT org