There are two possibilities:
1. You put libc and ld-linux and whatever libraries zcat, mount, cp and umount need in 
your initial ramdisk
2. or you build zcat, mount, cp and umount statically, so you don't need any library.

I think the second option will require less disk space, but you will have to recompile.

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 14 de marzo de 2002 5:48
Cc: [EMAIL PROTECTED]
Asunto: Help required from whom has experiences with Paul Moody's
mini-howto.


Hi,
I am following embedded linux OS by Paul Moody's mini-howto,
http://linux-embedded.com/pmhowto.html.
It is very nice howto file to me for building embedded linux os.
However, I have a problem with it on building ramdisk file loading.
I can reduces storage space a lot with his techniques.

In step 12 on hist mini-howto,
cp /bin/zcat  ./

In linuxrc file,
#!/bin/sh
mount -o ro /dev/hda1 /mnt
zcat ram40.img.gz>/dev/ram
umount /dev/hda1

Q1. Does the zcat work without dynamically linked libraries, several
/lib/libxxxx.so?
         "ldd /bin/zcat" will show the run-time required libraries.
       As I know, I need to statically liniked zcat, am I wrong?

Regards,
Bokyun Na


--
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>.

--
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