This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR libstdc++/17505: Update libmath stubs in linker-map.gnu


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]