public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Michael Hope <michael.hope@linaro.org>
Cc: crossgcc@sourceware.org
Subject: Re: GCC support libraries and sysroot
Date: Wed, 09 May 2012 08:26:00 -0000	[thread overview]
Message-ID: <20120509102617.29819e52@skate> (raw)
In-Reply-To: <CANLjY-n-T_AFcWxhCk_pwR+1vfPc=MfcTVCVD0po2k-x00bxyQ@mail.gmail.com>

Le Mon, 7 May 2012 08:23:59 +1200,
Michael Hope <michael.hope@linaro.org> a écrit :

> Hi Thomas.  CodeSourcery and crosstool-NG supply a compiler, runtime,
> and sysroot.  We supply a compiler and runtime that work with a few
> sysroots, and include a basic sysroot so the compiler works out of the
> box.  It's important to me that an end user can easily swap out the
> sysroot for a bigger or compatible (Fedora?  Debian?) one
> 
> Could you tell me more about your use case?  Perhaps we can tweak the
> default sysroot.

Well, in the end, I managed to get things working for Buildroot. I
considered that the GCC support libraries (libgcc_s, libstdc++, etc.)
can be in a separate directory, outside the sysroot, and I tweaked our
external toolchain logic to support this case. It seems to work fine.

I'm not sure it's really readable, but the change I've done to
Buildroot is
http://git.buildroot.net/buildroot/commit/?id=e1f0804cc11706648f33a96d68e613b8d6593db3.
I've also added support for Linaro 2012.04, and I've successfully
generated and booted an ARM Linux system with Buildroot and the Linaro
2012.04 toolchain.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq

  reply	other threads:[~2012-05-09  8:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23  1:23 Michael Hope
2012-03-23  6:27 ` Building armv7 "cross-native" GCC Douglas Jerome
2012-03-25 14:37 ` GCC support libraries and sysroot Yann E. MORIN
2012-03-25 15:16   ` Paul Smith
2012-03-25 18:28     ` Khem Raj
2012-03-25 19:26       ` Michael Hope
2012-05-06 16:37 ` Thomas Petazzoni
2012-05-06 20:24   ` Michael Hope
2012-05-09  8:26     ` Thomas Petazzoni [this message]
2012-07-16  8:03 ` Maurizio Vitale
2012-07-20  3:56   ` Michael Hope

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=20120509102617.29819e52@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=crossgcc@sourceware.org \
    --cc=michael.hope@linaro.org \
    /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).