Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem during building of gcc as cross compiler.


  • To: <arm-gnu@xxxxxxxxxxxxxxxx>
  • Subject: problem during building of gcc as cross compiler.
  • From: "Pradip Singh" <pradip.singh@xxxxxxxxxxxxxxx>
  • Date: Mon, 27 Sep 2004 18:51:16 +0530

Hi all,

  I am building the gcc 3.4.0 as a cross compiler for arm target. i am giving the target as arm-linux during configuring the compiler. 

  i,e ./configure --target=arm-linux --prefix=/usr/arm_tools --with-headers=/usr/arm_tools/linux/include --enable-languages=c --disable-threads

 
  when i am giving a make command i am getting the following compilation error 
 
   
 In file include from ./crtstuff.c:62:

 ./tsystem.h:79:19  stdio.h No such file or directory
 ./tsystem.h:82:23  sys/types.h No such file or directory
 ./tsystem.h:85:19  errno.h No such file or directory
 ./tsystem.h:92:20  string.h No such file or directory
 ./tsystem.h:93:19  stdlib.h No such file or directory
 ./tsystem.h:94:19  unistd.h No such file or directory
 ./tsystem.h:100:18  time.h No such file or directory

This is the first time I am building this cross compiler.

Also I have build and installed the binutils at appropriate place.

 Any help will be appreciated.

Thanks and regards,
Pradip