Optimized string operations for i586...
Cristian Gafton
gafton@redhat.com
Thu Apr 8 14:58:00 GMT 1999
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.
More information about the Libc-hacker
mailing list