Depends on the function.  Some functions can be extracted from the library
and linked directly into real-time modules.  The most reliable thing to do
is to find the library source code and see if it calls any external
functions that are part of the usual user interface.  If not, you can
safely use it.  Without the code, you can extract the function from the
library with 'ar' and then examine it's external references with 'objdump'.
A quick and dirty way to do this is to extract it and link it into a module
and see what unsatisfied references pop up.  I've been using the 64-bit
math functions this way for years.

        Norm

----- Original Message -----
From: Swami <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: S. Sivasubramanian <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 2:28 PM
Subject: [rtl] Using random functions in modules


> I want to use random functions in RT-Linux modules.. I cannot use math
> libraries directly so is there any other way of using math libraries in
> kernel modules?
>
> Thanks in advance,
>
> Best Regards,
> Swami
>
> -----------------------------
> Swaminathan Sivasubramanian
> Graduate Research Assistant
> http://www.swaminathans.com
>
>
>
> -- [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/
>

-- [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/

Reply via email to