Mail Archives: djgpp-workers/2002/06/09/12:04:46
> We have those functions in libm.a. The question is, should we leave
> them in libm.a, move them to libc.a, or write replacement functions of
> our own and put those into libc.a?
Unless there are legal reasons to do so, writing replacement functions
sounds like a complete waste of effort (both doing it and maintaining it).
Maybe we should move all of libm into libc, make libm an empty shell,
and replace the old libc functions with the libm ones.
> Leaving them in libm.a means users will have to say "-lm" for some math
> functions but not for others; that can lead to confusion. Moving them
> into libc.a means we take apart fdlibm-originated code, which will make
> it harder to upgrade to newer versions of fdlibm should we want to.
> Coming up with our own implementations means more work.
If we removed all of our definitions which are redundant with fdlibm,
and just build fdlibm modules as part of the libc, what are the drawbacks?
- Raw text -