From: Andrew Haley <aph@redhat.com>
To: Maxim Kuvyrkov <maxim@kugelworks.com>,
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 09:53:00 -0000 [thread overview]
Message-ID: <52B2C203.8000704@redhat.com> (raw)
In-Reply-To: <E2849842-7A7D-46C3-932D-85D369DE6E24@kugelworks.com>
On 12/19/2013 12:15 AM, Maxim Kuvyrkov wrote:
> 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.
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.
next prev parent reply other threads:[~2013-12-19 9:53 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
2013-12-19 8:15 ` Kai Ruottu
2013-12-19 9:23 ` Brian Drummond
2013-12-19 9:53 ` Andrew Haley [this message]
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=52B2C203.8000704@redhat.com \
--to=aph@redhat.com \
--cc=gcc-help@gcc.gnu.org \
--cc=hendrik.greving.intel@gmail.com \
--cc=maxim@kugelworks.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).