A few build system questions

Warner Losh imp at bsdimp.com
Thu Aug 2 17:10:20 UTC 2018


On Thu, Aug 2, 2018, 5:19 PM Eric McCorkle <eric at metricspace.net> wrote:

> On 08/02/2018 11:33, Brooks Davis wrote:
> > On Thu, Aug 02, 2018 at 11:17:06AM -0400, Eric McCorkle wrote:
> >> Hi,
> >>
> >> I have a few questions about how to accomplish some things with the
> >> build system.
> >>
> >> First, I want to create some libraries that exist only as static
> >> archives, meaning no shared object (ex. libsomething.a, but no
> >> libsomething.so)
> >
> > If it's something for use by only the base system PRIVATELIB= will
> > do it (and change the name to libprivatesomethi.a).  If you want to be
> > broadly available outside the base system, NO_SHARED= should do it IIRC.
>
> If loader and kernel are able to use private libraries, then that is
> probably better, actually.
>

They aren't.  Src/stand depends on no objects in the system other than what
is built in src/stand. What you are proposing is a non-starter. The loader

Warner

>


More information about the freebsd-hackers mailing list