Mail Archives: djgpp/1996/07/24/15:15:56
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
- Raw text -