On Die, 21 Dez 1999 Matt Garratt wrote:

>yeah I saw the use of libc.a referred to in a previous post. I use:
>
>ld -r -static -o kalman3 kalman3.o -L/usr/lib -lc -lm
>
>I guess the libc.a is to link raise and errno, however even with the -lc
>I still get unresolved symbol raise etc.  

Well, see where it is in. Probably libgcc ?
nm is your friend !

>I saw in another post from last month, that you recommend using inline
>math functions.  Is this relatively easy to do ? Do you need to edit the
>standard math.h header to use it or do you simply cut and post sections
>of the inline header __math.h into your own code ?

I don't do it at all. But I would probably create my own mymath.o module
by cut/pasting the code into mymath.c. IIRC, you can also get them
inlined by your compiler, if you tell him so :-)

-- Jochen
        Heinrich-Heine-Universität, Institut für Physikalische Chemie I
        Universitätsstr. 1, Geb. 26.43.02.29, 40225 Düsseldorf, Germany
phone 02118113681 fax 02118115195  --  www-public.rz.uni-duesseldorf.de/~jochen
[EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED]
--- [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/

Reply via email to