> Oi Hofrat, Tobias and all,
>
> Hofrat said:
>
> >miniRTL is glibc 2.0.7 so that IS the cause of the failures I would say .
> >I assume that if you compile a "hello world" on your desk-top system it
> >will segfault at you on minirtl.
>
>
> Ok, but couldn't i compile my program using glibc 2.0.7 in the desktop? For
> example, I tried to use -L"glibc2.0.7_that_comes_with_MiniRTL_path" as a
> gcc optionin the Makefile but it didn't work,
yup you can , you need the full unstriped libs I belive , I have a glibc
libdir in /src/minirtl/glibc-2.0.7/ so to compile programs for minirtl I
use
gcc -nostdlib -I/src/rtlinux-2.3/include -I/src/rtlinuc-2.3/linux/include
-L/src/minirtl/glibc-2.0.7/ -lc monirot.c -o monitor ; strip monitor
which gives me a minirtl compatible monirtor with a size of 2140 bytes :)=
so its simply
gcc -nostdlib -L/YOUR_GLIBC2.0.7_DIR -lc -lWHAT_EVER_LIB_YOU_NEED FILE.c
for those that don't have glibc-2.0.7 available
you can download it precompiled from
ftp://ftp.thinkingnerds.com/pub/projects/minirtl/glibc-2.0.7.tar.bz2
simply unpack it into a directory of your choice and use the above
linker flags.
or get it in source from the official glibc site
ftp://www.gnu.org/pub/gnu/glibc
hope that helps!
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/