Mark.
If you can't get a safe library, you can do the following:
Extract from any library you want the modules you need using "ar"
(man 1 ar). You can then link them one-by-one to your object modules or you
can use "ar" to create your own library.
I have done this several times to get the long-long division function from
libgcc and it works perfectly. I have done this (in just one project) with
other libgcc library modules too.
Of course you'll have to extract from the library (or libraries) any
modules containing other functions that the modules you first extract
require. Use "objdump" (man 1 objdump) to determine what other -- if any --
functions/modules are required (and by extension, determine what might not
be safe).
Norman Dresner
Fellow Avionics Support Systems Engineer & (SGI) Advanced Signal Processing
Laboratory Administrator
Radar Systems Engineering Department
Electronic Systems and Sensors
Northrop Grumman Corporation
Baltimore-Washington International Airport
7323 Aviation Boulevard
Baltimore Maryland 21240
Voice: (410) 993 - 2096 Mornings; all-day voice-mail
(410) 969 - 8068 Afternoons with answering machine
FAX: (410) 993 - 8084 On-site
(410) 969 - 8068 Afternoons; call first to arrange
E-Mail: Mornings: mailto:[EMAIL PROTECTED]
Afternoons: mailto:[EMAIL PROTECTED]
> -----Original Message-----
> From: Mark Jones [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 11, 2001 10:11 AM
> To: [EMAIL PROTECTED]
> Subject: [rtl] Safe standard C libraries
>
> Hello
>
> I am developing a data processing application that
> has hard real-time requirements. In this application I
> would like to be able to call some functions from the
> standard C library as well as functions from the math
> library. I have found however that some function in
> these libraries are not safe to using inside a RTL
> thread running in the kernel. I also tried to use
> newlib but was unsuccessful at getting it to link into
> the kernel at runtime. Does anyone know if someone has
> developed a real-time kernel safe version of the
> standard libraries?
>
> Mark Jones
>
>
> =====
> Mark Jones
> [EMAIL PROTECTED]
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.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/