Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 20:44:34 +0000 (GMT)
From:      "E.B. Dreger" <eddy+public+spam@noc.everquick.net>
To:        stable@freebsd.org
Subject:   bug or feature: "make world" static linking
Message-ID:  <Pine.LNX.4.20.0110052037180.32593-100000@www.everquick.net>

next in thread | raw e-mail | index | archive | help
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 <blacklist@brics.com>
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 <blacklist@brics.com>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.20.0110052037180.32593-100000>