Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Aug 2008 11:26:10 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-stable@freebsd.org, Sam Leffler <sam@freebsd.org>, fbsd2@yahoo.com, Luigi Rizzo <rizzo@iet.unipi.it>
Subject:   Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)
Message-ID:  <1218036370.1202.8.camel@RabbitsDen>
In-Reply-To: <d763ac660808060751q4d5be862n1f2a716849255cde@mail.gmail.com>
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> <d763ac660808060751q4d5be862n1f2a716849255cde@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2008-08-06 at 22:51 +0800, Adrian Chadd wrote:
> 2008/8/3 Alexandre Sunny Kovalenko <gaijin.k@gmail.com>:
> > 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 (Олександр Коваленко)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1218036370.1202.8.camel>