This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stdio.h: No such file or directory


Pramod P K wrote:
To: crossgcc@sources.redhat.com


Hi 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
http://www.aleph1.co.uk/armlinux/docs/toolchain/toolchHOWTO/x183.html
 i.e., editing gcc/config/arm/t-linux  with TARGET_LIBGCC2_CFLAGS =
-fomit-frame-pointer -fPIC -Dinhibit_libc -D__gthr_posix_h )

/home/pramod/gcc-3.4.3/arm-linux/gcc/xgcc
-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[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/pramod/gcc-3.4.3/arm-linux/gcc'
make: *** [all-gcc] Error 2
Paramod;

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)

Allan


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]