Shell minimal avec historique sur Debian
Salut les Free French,
Cela peut intéresser d'autres que moi ou les membres du CRI.
J'ai fait en sorte que le shell standard des systèmes BSD (ash) puisse être
compilé _avec l'historique_ sur une Debian, en le liant à la glibc ou à la
micro libc (uClibc). Les résultats sont les suivants, et vous pouvez obtenir
un shell (en statique pour être sûr d'avoir quelque chose sous la main
d'utilisable dans les cas critiques) qui fait à peine plus de 200000 octets.
Les sources sont disponibles ici :
http://cvs.pingoo.org/cgi-bin/cvsweb/dei/chiron/ash
Comparaison des tailles (extrait du README.not_bsd, en anglais) :
All sizes are with historic support :
* Static, against Glibc, with old termcap :
-rwxr-xr-x 1 thierry thierry 448656 jun 12 10:04 sh
* Static, against Glibc, with new curses :
-rwxr-xr-x 1 thierry thierry 460316 jun 12 10:25 sh
* Dynamic, against Glibc, with old termcap (not dynamically linked),
* libedit.so:
-rwxr-xr-x 1 thierry thierry 99344 jun 12 10:09 sh
* Dynamic, against Glibc, with new curses emulation (not dynamically linked),
libedit.so:
-rwxr-xr-x 1 thierry thierry 111516 jun 12 10:12 sh
* Static, against uClibc with old termcap (with copyrights, without rcsid):
-rwxr-xr-x 1 thierry thierry 200288 jun 12 10:17 sh
* Dynamic, against uClibc with old termcap (libedit.so):
-rwxr-xr-x 1 thierry thierry 96868 jun 12 10:20 sh
A+
--
Thierry LARONDE, Centre de Ressources Informatiques, Archamps - France
http://www.cri74.org/
Reply to: