Date: Thu, 2 Aug 2018 17:56:16 +0100 From: Warner Losh <imp@bsdimp.com> To: Eric McCorkle <eric@metricspace.net> Cc: Brooks Davis <brooks@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: A few build system questions Message-ID: <CANCZdfpACQP6gypGm_Jp1qQxMpTZT7XoUJnZPQMt7M46cgiqhQ@mail.gmail.com> In-Reply-To: <7f143985-2ebb-210a-e314-0deebd3d9f5b@metricspace.net> References: <bedd6e76-bbe4-7690-70ed-041bbe7970f7@metricspace.net> <20180802153357.GA25687@spindle.one-eyed-alien.net> <7f143985-2ebb-210a-e314-0deebd3d9f5b@metricspace.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 2, 2018, 5:19 PM Eric McCorkle <eric@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpACQP6gypGm_Jp1qQxMpTZT7XoUJnZPQMt7M46cgiqhQ>