tar -xzf glibc-2.2.5.tar.gz
cd glibc-2.2.5
tar -xzf glibc-linuxthreads.tar.gz
make compile
cd compile
../glibc-2.2.5/configure --host=i686-linux-pc-gnu --prefix=/mnt/lfs/usr --en
able-add-ons=linuxthreads
make [ERROR1] - Segmentation error
I know there are several options. Maybe I forgot to initialize something !
Laurence Morin-Daoust
laurence_m...@hotmail.com
Use a working compiler.
And recompile the bits it can't compile without optimization.
And fix the source.
Peter
Peter T. Breuer <p...@oboe.it.uc3m.es> a écrit dans le message :
1gk5ba...@news.it.uc3m.es...
This is how I did it on my LFS-3.2 system.
tar -xzf glibc-2.2.5.tar.gz
cd glibc-2.2.5
tar -xzf glibc-linuxthreads.tar.gz
touch /etc/ld.so.conf &&
cp malloc/Makefile malloc/Makefile.backup &&
sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile.backup > malloc/Makefile &&
cp login/Makefile login/Makefile.backup &&
sed 's/root/0/' login/Makefile.backup > login/Makefile &&
mkdir ../glibc-build &&
cd ../glibc-build &&
../glibc-2.2.5/configure --prefix=/usr \
--enable-add-ons --libexecdir=/usr/bin &&
echo "cross-compiling = no" > configparms &&
make &&
make install &&
make localedata/install-locales
--
Confucius: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
David <thunde...@netscape.net> a écrit dans le message :
3CD85C07...@netscape.net...
Did you optimize gcc when you compiled it? Did you optimize bash or
binutils when you compiled them?
I had problems with glibc and found that I had compiled bash with an
option that was causing problems with glibc, recompiled it with only the
"-O3 -march=i586" options and then I was able to compile glibc. If you
optimized gcc when you compiled it then it maybe where the problem is
at. I don't remember now but I know there were 3 or 4 packages that
shouldn't be optimized. I think they were gcc, binutils, glibc, and
depending which options you use on bash.
David <thunde...@netscape.net> a écrit dans le message :
3CDB3EC2...@netscape.net...