[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] [Fwd: Trignomteric Function problems]



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
Jochen@Uni-Duesseldorf.de -- Jochen.Kuepper@FernUni-Hagen.de -- Kuepper@ACM.org
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/