This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: Should we optimize memset to bzero?


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


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