Mail Archives: djgpp-workers/2002/06/09/07:04:01
..SNIP..
> 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?
>
> 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.
>
> Opinions?
Just a thought, may or may not help. Just my 2 cents worth of thought:-
Linux, Cygwin, MinGW and other x86 compilers also should have similar
problems and may have resolved the problems. Is it worth looking at how they
solved the problem and if feasible then use the same method.
I have not used any of these other compilers enough to know if they have had
similar problems and if they resolved them.
Andrew
- Raw text -