On Thu, 2013-12-19 at 10:15 +0200, Kai Ruottu wrote: > 19.12.2013 2:15, Maxim Kuvyrkov kirjoitti: > > On 19/12/2013, at 7:59 am, Hendrik Greving<hendrik.greving.intel@xxxxxxxxx> wrote: > > > >> I am compiling (trying to) ARM cross compiler (on x86): > >> > >> > > ... > >> conftest.c:15:19: fatal error: stdio.h: No such file or directory > >> > >> > >> Any help/hint appreciated, > > You don't have cross-built C library installed. Building a cross toolchain from scratch is an intricate process, it is not building just the compiler, you also need bintutils, C library headers and C library itself. > > I have never fully understood why the "totally from scratch target" is > the first many people are trying > when there are existing targets for crosstoolchains. My own '$sysroot's > for the 'arm*-linux-gnueabi' > targets in my laptop are : > > host-arm-angstrom-linux-gnueabi: > host-arm-cs2009-linux-gnueabi: > host-arm-cs2011-linux-gnueabi: and many others... How many of those are comprehensive toolchains, and how many omit bits of gcc, like Ada or Fortran for example? - Brian