busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)

Alexandre "Sunny" Kovalenko gaijin.k at gmail.com
Wed Aug 6 15:26:26 UTC 2008

On Wed, 2008-08-06 at 22:51 +0800, Adrian Chadd wrote:
> 2008/8/3 Alexandre Sunny Kovalenko <gaijin.k at 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
	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 (Олександр Коваленко)

More information about the freebsd-stable mailing list