[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [rtl] Libm in RT Space




> -----Original Message-----
> From: Jan Albiez [mailto:albiez@fzi.de]
> Sent: Montag, 11. Juni 2001 17:51
> To: RT Linux Mailinglist
> Subject: [rtl] Libm in RT Space

> My question is: Has anybody found out how to turn the default 
> output to
> stderr from libm of ?? I really don't need this facillity 
> since I avery
> carefully check all operands before calling this function !

Hello Jan,

why don't you use the gcc built in math inline functions? These functions
do not perform any error checking.
Just compile with "-O2" and add "#undef __NO_MATH_INLINES" to your code
(to be on the safe side).
In our Suse7.0 environment, the compiler seems to need the CFLAG
"-std=gnu9x", too.

Viele Gruesse nach Karlruhe,
Bernd