FOR EVERYONE'S INFORMATION --
I thought I had this working (things were looking fine) but when I added
some code and compiled and transferred it to my embedded development system,
it gave me a segmentation fault from the start. I then compiled the same
code on a system with RH 5.2 which the default glic is what is required by
MiniRTL2.3 and the same code ran.
So, if you are developing for MiniRTL2.3 be aware.
Janet
-----Original Message-----
From: Nicholas Mc Guire
To: Estabridis, Janet P
Sent: 12/29/00 11:05 AM
Subject: Re: [rtl] Compiling Programs with a non standard glibc
> I tried one of my small applications and I still get a segmentation
fault.
>
> When I do the compile I get the following:
>
> gcc -nodefaults -nostdlib -L/usr/i386-glibc20-linux/lib -O2 -Wall
-static
> simulateSeekerOnOff.c -lc -s -o simulateSeekerOnOff
>
> /usr/bin/ld: warning cannot find entry symbol _start; default to
08048080
>
> I get the same sort of warning message with the frank_app, but it does
run.
>
> This program is VERY simple. I just set up my shared memory (old
style) and
> on the input line pass an arguement to put into shared memory. The
rt-task
> uses this value.
>
well the problem is that gcc does some "fixup" when you compile with
defaultlibs
but it is not realy documented what these default libs are, there is one
hint
in the gcc info pages (Linker options) that says you should include
libgcc.a ,
which I tried but that does not resolve the problem.
I'm tying to find a proper solution though. on the gcc list everyone
that responded told me the options are ok.... from which I conclude that
not
many people need these gcc features.
If I come across any real solution I'll let you know.
sorry for the mess whith minirtl.
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/