Thanks. I have 2 questions more:
1. It's said that CLFS is much harder, isn't it? 2. What does the 64 or 32 mean, CPU or OS? In other word, can I build LFS on a 32-bit OS based on a 64-bit CPU? Thanks, Wu 在 2008-12-20六的 08:15 +0000,support写道: > Bingzheng Wu wrote: > > Hi men, > > > > I followed the Linux From Scratch, Version 6.4 exactly. > > > > At 5.7. Glibc-2.8-20080929, `make`, it failed: > > > > ------------ > > gawk -f ../scripts/gen-as-const.awk > > ../sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym \ > > | gcc -B/tools/bin/ -S -o > > /mnt/lfs/sources/glibc-build/ucontext_i.hT3 -std=gnu99 -fgnu89-inline > > -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g > > -march=i486 -mtune=native -Wstrict-prototypes -I../include > > -I/mnt/lfs/sources/glibc-build/csu -I/mnt/lfs/sources/glibc-build > > -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 > > -I../sysdeps/unix/sysv/linux/x86_64 > > -I../sysdeps/unix/sysv/linux/wordsize-64 > > -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread > > -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu > > -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet > > -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv > > -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix > > -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 > > -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 > > -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 > > -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 > > -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. > > -I../libio -I. -nostdinc -isystem > > /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include > > -isystem > > /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed > > -isystem /tools/include -D_LIBC_REENTRANT -include > > ../include/libc-symbols.h -DHAVE_INITFINI -x c - \ > > -MD -MP -MF > > /mnt/lfs/sources/glibc-build/ucontext_i.h.dT -MT > > '/mnt/lfs/sources/glibc-build/ucontext_i.h.d > > /mnt/lfs/sources/glibc-build/ucontext_i.h' > > <stdin>:1: error: CPU you selected does not support x86-64 instruction set > > make[2]: *** [/mnt/lfs/sources/glibc-build/ucontext_i.h] Error 1 > > make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929/csu' > > make[1]: *** [csu/subdir_lib] Error 2 > > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.8-20080929' > > make: *** [all] Error 2 > > ------------ > > > > My host system is : Fedora 8-64 bits > > My cpu is : Intel E2200 > > > > I do not know where should I select the cpu. Is the '--with-cpu' at > > glibc-2.8-20080929/configure? > > > > > > Thanks, > > Wu > > > LFS is a 32bit project, you need CLFS instead. > > Regards > > Phill -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page