From owner-freebsd-stable Fri Oct 5 13:44:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from a.mx.everquick.net (a.mx.everquick.net [216.89.137.3]) by hub.freebsd.org (Postfix) with ESMTP id B9E7437B405 for ; Fri, 5 Oct 2001 13:44:35 -0700 (PDT) Received: from localhost (eddy@localhost) by a.mx.everquick.net (8.10.2/8.10.2) with ESMTP id f95KiZJ32631 for ; Fri, 5 Oct 2001 20:44:35 GMT X-EverQuick-No-Abuse: Report any e-mail abuse to Date: Fri, 5 Oct 2001 20:44:34 +0000 (GMT) From: "E.B. Dreger" To: stable@freebsd.org Subject: bug or feature: "make world" static linking Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings all, 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. 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. However: 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? Eddy --------------------------------------------------------------------------- Brotsman & Dreger, Inc. - EverQuick Internet Division Phone: +1 (316) 794-8922 Wichita/(Inter)national Phone: +1 (785) 865-5885 Lawrence --------------------------------------------------------------------------- Date: Mon, 21 May 2001 11:23:58 +0000 (GMT) From: A Trap To: blacklist@brics.com Subject: Please ignore this portion of my mail signature. These last few lines are a trap for address-harvesting spambots. Do NOT send mail to , or you are likely to be blocked. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message