How to extract the msh from busybox ?

walter harms wharms at bfs.de
Thu Jul 30 07:11:37 UTC 2009



Arthur Wong schrieb:
> but there has another porblem: if i want to generate a romfs image from
> uclinux, then i have to build twice and have much configuration to do.
> so, is't probably i pick up the msh.c from busybox and build it as an app as
> the others in uclinux/user ?



this will not ease the pain as msh.c depends on functions in libbb and what bb
does is to build libbb and add the requested *.c (basicly).

re,
 wh

> 
> 2009/7/29 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
> 
>> On Wed, Jul 29, 2009 at 06:40:00PM +0800, Arthur Wong wrote:
>>> Hello:
>>>
>>> In uClinux, i think the msh from busybox is the best shell.
>>> but the binary busybox is too big, so i want to extract the msh from
>>> busybox.
>>>
>>> Is't easy for that, and how should i do ?
>> enable just msh and nothing more. then copy the resulting busybox binary to
>> /bin/msh && ln -sf msh /bin/sh to make it your default sh.
>>
> 
> it's a good idea, thanks.
> after build it's only 87K.
> 


More information about the busybox mailing list