Date: Fri, 5 Oct 2001 18:10:21 -0700 From: Kris Kennaway <kris@obsecurity.org> To: "E.B. Dreger" <eddy+public+spam@noc.everquick.net> Cc: stable@FreeBSD.ORG Subject: Re: bug or feature: "make world" static linking Message-ID: <20011005181021.A84073@xor.obsecurity.org> In-Reply-To: <Pine.LNX.4.20.0110052037180.32593-100000@www.everquick.net>; from eddy%2Bpublic%2Bspam@noc.everquick.net on Fri, Oct 05, 2001 at 08:44:34PM %2B0000 References: <Pine.LNX.4.20.0110052037180.32593-100000@www.everquick.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 05, 2001 at 08:44:34PM +0000, E.B. Dreger wrote: > Greetings all, >=20 > While playing around with 4.4-R, I finally did my first 'make > world'. Even after running 'strip' on the resultant binaries, I > was puzzled by their large sizes compared to -RELEASE. >=20 > After investigating with 'ldd', it was pretty obvious that the > binaries had been _statically_ linked. Easy enough to change > by adding "-Xlinker -Bdynamic" to CFLAGS. >=20 > However: >=20 > Static linking for /bin and /sbin is obviously the sane choice, > but I'd prefer dynamic linking for anything in /usr. Bug, > feature, or just me cutting my teeth? It shouldn't be doing this unless you tell it to. What other local settings have you changed? Kris --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7vln9Wry0BWjoQKURAjcGAKD04H4rrrfpVH5m0fXFvZrKPxeC0QCg+Ur5 U9qWZ8+0LmpFstHKnkLcuPI= =77UF -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011005181021.A84073>