public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Maxim Kuvyrkov <maxim@kugelworks.com>
To: Hendrik Greving <hendrik.greving.intel@gmail.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: Problem with ARM cross compiler
Date: Thu, 19 Dec 2013 00:16:00 -0000	[thread overview]
Message-ID: <E2849842-7A7D-46C3-932D-85D369DE6E24@kugelworks.com> (raw)
In-Reply-To: <CANc4vhpyAx2o4AdhBNdpwzY_W+A+ut4eT2qvBKTZdYPQ-HnsHg@mail.gmail.com>

On 19/12/2013, at 7:59 am, Hendrik Greving <hendrik.greving.intel@gmail.com> 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.

Assuming you want Glibc for C library, try following procedure documented here: http://www.eglibc.org/cgi-bin/viewvc.cgi/trunk/libc/EGLIBC.cross-building?view=markup .  Consider using one of pre-built cross toolchains, e.g., Linaro's.

--
Maxim Kuvyrkov
www.kugelworks.com


  reply	other threads:[~2013-12-19  0:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 18:59 Hendrik Greving
2013-12-19  0:16 ` Maxim Kuvyrkov [this message]
2013-12-19  8:15   ` Kai Ruottu
2013-12-19  9:23     ` Brian Drummond
2013-12-19  9:53   ` Andrew Haley
2013-12-19 18:46     ` Hendrik Greving

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E2849842-7A7D-46C3-932D-85D369DE6E24@kugelworks.com \
    --to=maxim@kugelworks.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=hendrik.greving.intel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).