[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: busybox still too bloated



On Wed Sep 26, 2001 at 03:47:01PM -0800, Ethan Benson wrote:
> On Wed, Sep 26, 2001 at 05:38:16PM -0600, Erik Andersen wrote:
> > I missed the explanation.  If there is something specific that 
> > busybox ash does wrong that prevents its use on powerpcs, I'd 
> > very much like to know so I can fix it,
> 
> implement "command -v"

Already done.  This is disabled by default in busybox ash, since disabling it
saves about 272 bytes.  Enabling it involves flipping a #define in ash.c.   But
since I knew you wanted it, I enabled it in busybox_0.60.1-4 which has been
sitting on http://people.debian.org/~andersee/ since yesterday.

    $ perl -i -p -e "s/#undef ASH_CMDCMD/#define ASH_CMDCMD/" ash.c
    [andersen@dillweed busybox]$ make
    [-----compiling snipped-----]
    [andersen@dillweed busybox]$ ./busybox ash


    BusyBox v0.61.pre (2001.09.26-23:54+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    $ command
    command [-p] command [arg ...]
    command {-v|-V} command
    $ 

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org, formerly of Lineo
--This message was written using 73% post-consumer electrons--

Attachment: pgpBGvT5sghfP.pgp
Description: PGP signature


Reply to: