>>>>> Nicolas Weeger writes:
> Hi everybody
> I recently installed an out-of-the box RedHat 6.0.
> Since i have a Pentium II, i assume i would gain performance by
> compiling with i686 optimizations, and maybe by recompiling kernel, KDE
> and so on.......
> So my question is : how do i do this ?
> Do i need to recompile egcs ? glibs ? in which order ? with which flags
> ?
> and after i compiled the libraries, do i need to change for instance
> /etc/ld.so.conf ?
Order doesn't matter, just compile those applications you think could
benefit from it.
> Could somebody point me at some documents ? Or simply answer on the
> mailing-list ;-)
> I tried to compile both egcs & then glibc-2.1.1, but when i installed
> (in /usr/local/lib), and tried to update my /etc/ld.so.conf (adding
> /usr/local/lib & then running ldconfig), i just ended crashing my system
> (ie whenever i tried to launch a process, i go a message like 'can't
> find ld-linux.so.2', and of course nothing did work at all...........)
Read the glibc FAQ first, especially question 3.18, then README and
INSTALL files. You really should install with --prefix=/usr.
> Since i don't really enjoy booting from rescue disk & moving the
> /usr/local/lib dir to something else, i would appreciate some help ;-)
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]