On Wed Nov 29, 2000 at 01:25:02PM -0700, Ian S. Nelson wrote:
> 
> 
> Anyone have pointers for making really small programs?  Particularly I
> want a really small insmod.  I've experimented with several of the micro
> c libraries but I haven't been able to get insmod to compile with one of
> them.
> 
> I've looked at Tom's Rootboot disk and it looks like he has some kind of
> shared C library that is very small.  Does anyone know how to build
> that?

What architecture?  It makes a difference....

The smallest is going to be in arch specific asm going straight to the 
kernel interfaces.
 
The next smallest is going to be something like busybox (which has an insmod
app) compiled with uClibc (or with glibc 2.0.7 or similar if you have space
for shared libs). 

Or you could use modutils (with modprobe and depmod and friends disabled)
linked vs uClibc (or glibc 2.0.7 or similar if you can afford shared libs).

Some useful links (I am prejudiced towards busybox myself ;-):

    http://busybox.lineo.com/
    http://cvs.uclinux.org/cgi-bin/cvsweb/uClibc/
    http://www.pcug.org.au/~dbell/
    http://linuxassembly.org/asmutils.html

 -Erik

--
Erik B. Andersen   email:  [EMAIL PROTECTED]
--This message was written using 73% post-consumer electrons--

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to