This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: Optimized string operations for i586...
- To: "H.J. Lu" <hjl@lucon.org>
- Subject: Re: Optimized string operations for i586...
- From: Cristian Gafton <gafton@redhat.com>
- Date: Thu, 8 Apr 1999 17:57:52 -0400 (EDT)
- cc: libc-hacker@cygnus.com
On Thu, 8 Apr 1999, H.J. Lu wrote:
> I have no problems with this. However, things may be different if
> your gcc is configured with i386-pc-linux. If you want to optimize
> glibc for i586, you should do
>
> export CFLAGS="-mcpu=i586 -march=i586 -D__USE_STRING_INLINES -fstrict-aliasing -g -O3"
> ../glibc/configure --prefix=/usr --enable-add-ons=yes i586-pc-linux
>
> In that way, gcc will generate code for i586, no matter what target
> gcc is optimized for by default, AND glibc will be configured for i586.
This still breaks, just try to enable NIS lookups and everything will
start to fall apart.
Cristian
--
----------------------------------------------------------------------
Cristian Gafton -- gafton@redhat.com -- Red Hat Software, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UNIX is user friendly. It's just selective about who its friends are.