Date: Tue, 18 Nov 2003 09:11:39 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Garance A Drosihn <drosih@rpi.edu> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c nologin.sh Message-ID: <xzpwu9yxfic.fsf@dwp.des.no> In-Reply-To: <p06002025bbdf1c4bde92@[128.113.24.47]> (Garance A. Drosihn's message of "Mon, 17 Nov 2003 20:29:09 -0500") References: <200311170639.hAH6dduA076667@repoman.freebsd.org> <200311171301.45679.wes@softweyr.com> <20031117234947.GQ98272@klapaucius.zer0.org> <p06002025bbdf1c4bde92@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> writes: > How much larger is the object-file for the no-login port compared > to this minimal one? des@dwp /usr/src/sbin/nologin% make Warning: Object directory not changed from original /usr/src/sbin/nologin cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -c nologin.c cc -O -pipe -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uniniti= alized -fno-builtin -static -o nologin nologin.o gzip -cn nologin.5 > nologin.5.gz gzip -cn nologin.8 > nologin.8.gz des@dwp /usr/src/sbin/nologin% strip -g nologin des@dwp /usr/src/sbin/nologin% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/src/sbin/nologin% size nologin text data bss dec hex filename 9350 308 328 9986 2702 nologin des@dwp /usr/src/sbin/nologin% du nologin 22 nologin des@dwp /des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% cc -O -pipe= -static nologin.c -o nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% strip -g nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% file nologin nologin: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for F= reeBSD 5.0.1, statically linked, not stripped des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% size nologin text data bss dec hex filename 75814 4372 22884 103070 1929e nologin des@dwp /usr/ports/sysutils/no-login/work/nologin-1.0% du nologin 114 nologin I believe most of this increase is caused by the use of syslog. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpwu9yxfic.fsf>