This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Should we optimize memset to bzero?
- To: "Martin v. Loewis" <martin at v dot loewis dot de>
- Subject: Re: Should we optimize memset to bzero?
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 2 Nov 2001 19:48:01 +0000 (GMT)
- cc: <hjl at lucon dot org>, <jakub at redhat dot com>, <libc-alpha at sources dot redhat dot com>
On Fri, 2 Nov 2001, Martin v. Loewis wrote:
> Wouldn't it be better to determine features of the C library at
> gcc configuration time?
GCC uses the same target name for multiple glibc versions, so you can't
hardcode this; and, you can't do autoconf-type configuration when you may
not have a compiler present for the target system at all at
configure-time. Thus having the library communicate its features when
used, allowing desynchronised upgrades of the library and compiler without
the behaviour depending on odd aspects of the glibc installed at
configure-time (rather than just the preprocessed source).
--
Joseph S. Myers
jsm28@cam.ac.uk