Hello,
Thanks.
I had tried :
gcc -v dummy.c
This is the output,fully:
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
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/cc1 -quiet -v dummy.c -quiet
-dumpbase dummy.c -mtune=pentiumpro -auxbase dummy -version -o
/tmp/ccIPULs6.s
ignoring nonexistent directory
"/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/tools/include
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/include
End of search list.
GNU C version 3.4.3 (i686-pc-linux-gnu)
compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=94 --param ggc-min-heapsize=121333
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as
-V -Qy -o /tmp/ccSaBhq1.o /tmp/ccIPULs6.s
GNU assembler version 2.15.94.0.2.2 (i686-pc-linux-gnu) using BFD
version 2.15.94.0.2.2 20041220
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
/usr/lib/crti.o /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/crtbegin.o
-L/tools/lib/gcc/i686-pc-linux-gnu/3.4.3
-L/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib
/tmp/ccSaBhq1.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/crtend.o /usr/lib/crtn.o
as I understand, the include path is:
/tools/include
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/include
Is there something wrong here ?
when I try ls /tools/include/stdio.h
I see that the file is there .So why is the error ?
(The first error was:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory)
Any idea ?
Regards,
Mark
On 9/17/05, William Harrington <[EMAIL PROTECTED]> wrote:
> > 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
> > or directory
> > 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
>
> Make dummy.c again like during the sanity test and when you do gcc dummy.c
> instead do gcc -v dummy.c and see where it is searching for headers.
>
> William
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page