[RFC] libm replacement for Busybox
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Oct 10 16:22:03 UTC 2008
On Fri, Oct 10, 2008 at 05:24:55PM +0200, Loïc Grenié wrote:
>2008/10/10 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>:
>> On Fri, Oct 10, 2008 at 04:21:51PM +0200, Loïc Grenié wrote:
>>> I've noticed that busybox uses few functions from libm.
>>
>> Actually, you can turn off ASH_MATH_SUPPORT_64 FEATURE_AWK_MATH and
>> you don't need libm at all.
>
> dc uses pow. You are probably right that the other ones are not
> needed in "constrained" platforms (initrd or embedded).
yes, and dc is probably not in your initramfs either. And if you need dc
in you system (be it the initramfs or a normal system), then your system
is most likely so big that you don't worry about libm anyway.
More information about the busybox
mailing list