tech-userlevel archive

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

Re: BeastieBox, a (Net)BSD BusyBox-like



On Mon, 8 Dec 2008, David Brownlee wrote:

        Well, there is always /bin/ed for a small editor (45K on i386 5.0)

that's the easy path ;)

I got ex from http://ex-vi.sourceforge.net/ compiled without any dependency but libterm (from which I imported only the needed sources into bbox main binary) reaching 140K, which is a reasonable size.

When tweaking / configuring a small-size device like wireless a router, it's really a plus to have vi(1) onboard.

        I think your best result might be improving -DSMALL for some of
        the binaries from rescue, but for a few pulling in other sources.
        Of course any -DSMALL work helps almost everyone using NetBSD
        in embedded work and even people trying to fit install binaries
        on small media or memory systems :)

That's absolutely what I have in mind, I only choose other sources when there's no other choice, at this time 99% of my work is 4.0 based and from what I've seen I feel like it wouldn't change that much using 5.0.

        That seems very high - are you sure you don't have an old binary
        from something lying around there - my i386 5.0 system reports
        4.4M (Not that that is tiny, but...)
        What does "du -shc /rescue/*" report?

Right, I had one old binary left, my bad, correct result is 3.4M... which is far too high considering that devices like Linksys WRT54G, Fonera and friends have around 4MB of flash memory.

Thanks for all of your comments

regards,

----------------------------------------
Emile "iMil" Heitor <imil%home.imil.net@localhost>                              
    _
                   http://gcu-squad.org            ASCII ribbon campaign ( )
                                                    - against HTML email  X
                                                                & vCards / \


Home | Main Index | Thread Index | Old Index