avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [Bug #3485] Using float arithmetic without linking wi


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [Bug #3485] Using float arithmetic without linking with -lm result in incorrect code
Date: Wed, 7 May 2003 17:57:15 +0200
User-agent: Mutt/1.2.5i

As address@hidden wrote:

> Summary: Using float arithmetic without linking with -lm result in
> incorrect code

I wonder whether we should drop libm.a altogether, i. e., make it a
stub library for historical reasons, so people using -lm won't fall
over, but put all modules into libc.a.  There are already other
oddities, like strtod() which is documented in <stdlib.h> also living
in libm.a, because of the historical origin of the code implementing
it.

(There's IMHO also an option to make that stub library produce a
linker warning, so people using -lm could get notified.)
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]