Peter Wemm wrote:
> Terry Lambert wrote:
> > Nate Lawson wrote:
> > > Here is a link to the size of various components of libc, sorted by text
> > > size.  If you can find some way to reduce or even remove some of this,
> > > please submit a patch.
> > >
> > >   http://www.root.org/~nate/freebsd/lib_size.out
> >
> > Move the resolver code out to ibresolv.so, and link libc.so
> > against libresolv.so so that legacy applications are happy, as
> > long as they are compiled shared.  Non-network apps can ignore
> > most of it.  Internal use of some of the biggest chunks is
> > limited, so this should avoid dragging in a lot of it.
> 
> We've been over this before.  To make this work right, we need to make
> /bin and /sbin dynamically linked.  NetBSD's /rescue/* approach would
> solve the "oops!" and other foot shooting problems.

Or add:

        LDFLAGS+=       -lresolv

To the Makefiles of the things that need to be statically linked,
and access the network code.

I'm going to go out on a limb here, though, and guess that without
a resolv.conf, most of the resolver library is going to be really
useless.  8-) 8-).

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to