> On Wed, 12 Jul 2000, Herman Bruyninckx wrote:
>
> > We are trying to make MiniRtl floppies with Comedi drivers. But Comedi
> > seems to need the libc, which is a couple of megabytes big. Is there
> > another, much smaller ``embedded'' libc available? Is newlib from Cygnus
> > such an alternative? Would it be possible to use it together with Comedi?
>
> 1) Try statically linking Comedi, it may be using only a small part of the
> library.
>
statically linking things against glibc is sensless , you end up with huge
binaries . also from beginning on the intention of miniRTL was to have a
system that will run binaries that are compatible to a full-featured desk-top
system, so minirtl has less libs on-disk naturally but they are unmodified
exept for stiping them (which only influences debuging)
list of libs on miniRTL (glibc-2.0.7) ,this I guess is cloase to the minimum
assuming network support,without network support libs could be reduced a littl.
ld-2.0.7.so libc-2.0.7.so
libcrypt-2.0.7.so libdl-2.0.7.so
libncurses.so.4 libnsl-2.0.7.so
libnss_db-2.0.7.so libnss_dns-2.0.7.so
libnss_files-2.0.7.so libresolv-2.0.7.so
libss.so.2.0 libutil-2.0.7.so
libuuid.so.1.1
addmited that glibc-2.0.7 is not the most current , but setting up a desk-top
system running on glibc-2.0.7 is no big problem and makes developement much
easier since you can do debugging/optimization on the full system , then
strip your app and upload it to miniRTL for testing via tftp or scp . and
if you look at the front-ends from the rtlinux examples , you can see that
using the right compiler flags you can get very small binaries .
-rwxr-xr-x 1 root root 2080 Jul 13 10:41 monitor
-rwxr-xr-x 1 root root 3068 Jul 13 10:41 frank_app
check out ftp://ftp.rtlinux.org/pub/rtlinux/minirtl/minirtlV2.3/images , its
not done yet ,but its rtlinux-2.3 with all examples on it and a fiew littl
toys for the parallel port.
hofrat
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/