This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: another baby step - namespace adjustments
> I hear your concerns. I have an alternate plan now: I will copy
> e_sqrt.c from glibc into libiberty (with suitable modifications to
> make it standalone). This file will provide the function sqrt().
What copyright is on that?
> Does this plan work for you?
That would be acceptable, but...
> > Why not just always link with libm?
>
> This is a fine idea, as long as it's done only when necessary, but
> would not help build gcc itself.
Why not just *always* build gcc with -lm then? We don't need the
autoconf tests; just add it unconditionally.