This is the mail archive of the libc-hacker@cygnus.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: Optimized string operations for i586...


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.



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