This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PR libstdc++/17505: Update libmath stubs in linker-map.gnu
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Eric Botcazou <ebotcazou at libertysurf dot fr>
- Date: Wed, 6 Oct 2004 15:49:28 -0700
- Subject: Re: PR libstdc++/17505: Update libmath stubs in linker-map.gnu
- References: <Pine.LNX.4.44.0410031141390.21829-100000@www.eyesopen.com>
On Sun, Oct 03, 2004 at 11:57:04AM -0600, Roger Sayle wrote:
> * config/linker-map.gnu: Synchronize the current list of stub
> functions from libmath.
For the record, I don't think that this is a terribly good idea.
Better would be to put all of these routines in a separate library
such that the search path becomes
-lstdc++
-lm
-lm_compat
where -lm_compat is our compatibility library. In this way, the user
gets to take advantage of C99 compatibility improvements in the host
operating system. It also insulates libstdc++ itself from having to
become a compltete libc replacement. It can also be reused by libgfortran,
which basically has to do exactly the same thing.
r~