From owner-freebsd-stable@FreeBSD.ORG Wed Aug 6 15:26:26 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5096E1065676 for ; Wed, 6 Aug 2008 15:26:26 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 019638FC3C for ; Wed, 6 Aug 2008 15:26:25 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so2132530wra.27 for ; Wed, 06 Aug 2008 08:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=AS0FiYtqzm+jdEwA36r/hsRXMuU0UwHX4nZQDrkjUpw=; b=xCgquMAEgYGISdpMkyZOitrZ23V6bE7TG3edqQ9WkiZ7PpwvbqJS9ISOAWrX1UXJa2 j9hjQQumrPeH6AQ5Msmxu86PO8gCZVCMQDIsO6Zr6WSdtIM5af+VQaAtOcnKPcK4Fjao Lqqd0msKqdWe3RPhK0ClhKIj8xtVX6Jqpj0wI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=hbKlx6WAFxUzv5wKD1eac1GXhPTE7esfBaD2YyxBqfUUOLTi/6CoB5aZkcXyFvENWx 6v/bUAgswvJDiQAy/WDA1b5GY56oFW7vbb/XeiD41K7GGbtk/4KqNtcstkEOmEKcr/7E 5o6DNOY9p4bju0DtfiRw357rV3hcd7UgjR5fU= Received: by 10.90.81.19 with SMTP id e19mr3367282agb.24.1218036385294; Wed, 06 Aug 2008 08:26:25 -0700 (PDT) Received: from ?10.0.3.231? ( [70.111.2.146]) by mx.google.com with ESMTPS id 1sm3230407agb.20.2008.08.06.08.26.23 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Aug 2008 08:26:24 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: Adrian Chadd In-Reply-To: References: <372128.56919.qm@web51502.mail.re2.yahoo.com> <20080802.002039.58462077.imp@bsdimp.com> <4894A9D8.2090606@freebsd.org> <20080802225643.GA84798@onelab2.iet.unipi.it> <1217778109.953.23.camel@RabbitsDen> Content-Type: text/plain; charset=utf-8 Date: Wed, 06 Aug 2008 11:26:10 -0400 Message-Id: <1218036370.1202.8.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org, Sam Leffler , fbsd2@yahoo.com, Luigi Rizzo Subject: Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 15:26:26 -0000 On Wed, 2008-08-06 at 22:51 +0800, Adrian Chadd wrote: > 2008/8/3 Alexandre Sunny Kovalenko : > > Tcl? > > Are those sizes stripped? No. They are also from Tcl 8.5 and are *much* larger than that of 8.4. Here is statically built, stripped tclsh8.4: # ls -lh tclsh -rwxr-xr-x 1 sunny wheel 651K Aug 6 11:18 tclsh # ldd tclsh tclsh: libm.so.5 => /lib/libm.so.5 (0x28118000) libc.so.7 => /lib/libc.so.7 (0x2812d000) In my case, main attraction of Tcl was the ability to build it (statically if needed) into the application. Additional benefit being that with some malice and forethought you can use your application as the generic Tcl interpreter when you need one ;) -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)