Greetings
I have seen the same problem listed in other posts and can not get my
head around why it is happening. Also the other threads seem to end
abruptly which isn`t helping me. The problem occurs in 6.14/ GCC-3.4.3
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or
directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file
or directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or
directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or
directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or
directory
../../gcc-3.4.3/gcc/tsystem.h:94:20: unistd.h: No such file or
directory
In file included from /sources/gcc-
build/gcc/include/syslimits.h:7,
from /sources/gcc-
build/gcc/include/limits.h:11,
from ../../gcc-3.4.3/gcc/tsystem.h:97,
from ../../gcc-3.4.3/gcc/crtstuff.c:62:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No
such file ordirectory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or
directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
To check the version of gcc used the following checks were suggested
AS CHROOT ON LFS
root:/sources/gcc-build# gcc -v dummy.c
gcc: dummy.c: No such file or directory
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/tools --
libexecdir=/tools/lib --with-local-prefix=/tools --enable-
clocale=gnu --enable-shared --enable-threads=posix --enable-
__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.3
root:/sources/gcc-build# type -p gcc
/tools/bin/gcc
root:/sources/gcc-build# type -p cc
/tools/bin/cc
AS USER lfs ON HOST
[EMAIL PROTECTED] ~]$ su - lfs
Password:
lfs:~$ echo $PATH
/tools/bin:/bin:/usr/bin
lfs:~$ gcc -v
Reading specs from /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-
gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/tools --
libexecdir=/tools/lib --with-local-prefix=/tools --enable-
clocale=gnu --enable-shared --enable-threads=posix --enable-
__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.3
lfs:~$ type -p gcc
/tools/bin/gcc
lfs:~$ type -p cc
/tools/bin/cc
I have used new build directories for gcc and binutils at each stage. Can
anyone help interpret these results
Thanks Michael
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page