I took a prebuilt one from codesourcery instead.. Thanks, Hendrik On Thu, Dec 19, 2013 at 1:53 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > On 12/19/2013 12:15 AM, Maxim Kuvyrkov wrote: >> 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. > > Sure, but you don't need a special C library: all you have to do is > unpack the root filesystem of your target and point the --with-sysroot > at it when configuring GCC. > > Andrew.