stdio.h: No such file or directory
Thu Oct 20 07:17:00 GMT 2005
Pramod P K wrote:
> To: firstname.lastname@example.org
> Im crosscompiling gcc-3.4.3 for arm9, with Linux-2.6.10 (fedora core-4)
> i've configured n compiled binutils-2.15 , then make menuconfig for
> 2.6.10 kernel at the TOPmost kernel's directory.
> i get errors as shown:
> (even after going thru
> i.e., editing gcc/config/arm/t-linux with TARGET_LIBGCC2_CFLAGS =
> -fomit-frame-pointer -fPIC -Dinhibit_libc -D__gthr_posix_h )
> -B/home/pramod/gcc-3.4.3/arm-linux/gcc/ -B/home/pramod/arm-linux/bin/
> -B/home/pramod/arm-linux/lib/ -isystem /home/pramod/arm-linux/include
> -isystem /home/pramod/arm-linux/sys-include -O2 -DIN_GCC
> -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition -isystem ./include -I.
> -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -g0
> -finhibit-size-directive -fno-inline-functions -fno-exceptions
> -fno-zero-initialized-in-bss -fno-unit-at-a-time \
> -c ../../gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
> In file included from ../../gcc/crtstuff.c:62:
> ../../gcc/tsystem.h:79:19: stdio.h: No such file or directory
> ../../gcc/tsystem.h:82:23: sys/types.h: No such file or directory
> ../../gcc/tsystem.h:85:19: errno.h: No such file or directory
> ../../gcc/tsystem.h:92:20: string.h: No such file or directory
> ../../gcc/tsystem.h:93:20: stdlib.h: No such file or directory
> ../../gcc/tsystem.h:94:20: unistd.h: No such file or directory
> ../../gcc/tsystem.h:100:18: time.h: No such file or directory
> make: *** [crtbegin.o] Error 1
> make: Leaving directory `/home/pramod/gcc-3.4.3/arm-linux/gcc'
> make: *** [all-gcc] Error 2
Let me restate Dimitry's response, maybe you missed it:
> - Please don't crosspost
> - Please use Google, which leads you almost directly to the correct
> solution for your problems: http://kegel.com/crosstool/
I assume you've looked at this response before reposting your question?
Forgive me if you have, but you didn't mention "google" nor "crosstool"
in your question. I don't mean to be harsh, but you might be ignoring
the very solution to your problem when you ignore his response. Don't
worry, someone on this list will probably give you the same response.
Try crosstool, then crosspost your question again! (google will also
help you solve most crosstool problems you may encounter... Google is a
very good tool, you should try it)
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc