Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 12:51:25 -0400 (EDT)
From:      Larry Baird <lab@gta.com>
To:        freebsd-small@freebsd.org
Cc:        Luigi Rizzo <luigi@info.iet.unipi.it>
Subject:   Re: crunchgen issue ...
Message-ID:  <200108141651.MAA07359@gta.com>
In-Reply-To: <200108132207.AAA28026@gta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> You're right that the special libs approach leads to replicating
>> those libraries into multiple programs that use them, but
>> sometimes I only use one. I'm afraid that eventually naming
>> conflicts between such private libraries are not avoidable even
>> with good c-coding. So, it may remain to be the problem of the
>> crunchgen user ... so crunchgen could still help here.

> In these cases, wouldn't it suffice to put the library name in the
> OBJS variable of the Makefile ? This would also reflect more
> accurately the actual use of the "library", which really
> becomes just a set of objects which might be needed for the
> build.
From my experience this approach works with a small caveate.  It
links in the complete library and not just the required object
modules.  This can lead to substantial bloat if most of the library
is not required. (-;

Larry


-- 
------------------------------------------------------------------------
Larry Baird                        | http://www.gnatbox.com
Global Technology Associates, Inc. | Orlando, FL
Email: lab@gta.com                 | TEL 407-380-0220, FAX 407-380-6080

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108141651.MAA07359>