On 4 September 2010 21:25, Uriel <ur...@berlinblue.org> wrote: > On Sat, Sep 4, 2010 at 12:34 AM, Connor Lane Smith <c...@lubutu.com> wrote: >> One file per function means a binary will only link the objects it > needs, which helps keep binary size down when statically linking > > The linker should be capable of including only the symbols that are > actually used in the program.
Apparently this works only at the granularity of objects. ie, if any symbol within an object is required, all symbols are pulled in. At least, with gcc - wonder if kencc is different... -sqweek