William Wanders wrote:
> On Mon, Dec 17, 2007 at 11:51:15AM +1100, Darren Reed
wrote:
>> Have you thought of building a single large
image/executable that
>> determines what it does by the name in argv[0]?
> You have something similar like BSD's
"crunchgen/ide" tools in mind?
Yes.
...
> DESCRIPTION
> A crunched binary is a program made up of many
other programs linked
> together into a single executable. The crunched
binary main() function
> determines which component program to run by the
contents of argv[0].
> The main reason to crunch programs together is for
fitting as many pro-
> grams as possible onto an installation or system
recovery floppy.
>
> Would be really nice if something like this existed for
OpenSolaris.
>
> However the current /bin (0.8mb), /usr/bin (5mb) and
/usr/sbin (3mb) seem
> to be quite small already. The kernel (14mb) and
library directories
> /lib (10mb) and /usr/lib (10mb) take up most of the
space at this time.
Have you tried to trim down the library files, yet,
to contain only those functions that are necessary?
This goes some way to achieving what crunchgen does:
only including the functions that are acutally called,
rather than entire libraries.
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|