All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: External Toolchains Re: gcc-cross-sdk (GCC 4.2.3) limits.h	woes
Date: Tue, 18 Aug 2009 18:42:51 -0400	[thread overview]
Message-ID: <20090818224251.GA26195@denix.org> (raw)
In-Reply-To: <1250631162.4215.233.camel@lenovo.internal.reciva.com>

On Tue, Aug 18, 2009 at 10:32:42PM +0100, Phil Blundell wrote:
> On Tue, 2009-08-18 at 14:25 -0700, Khem Raj wrote:
> > Do you have to use glibc built externally ? I would think that use
> > external compiler
> > and tools but build everything else that goes on target which is also libc.
> 
> I think that, for most folks, avoiding the epic glibc build process is
> probably one of the main attractions of an external toolchain.
> 
> In any case, building glibc from source wouldn't actually remove this
> problem since you would then just have the same trouble with libgcc,
> libobjc and suchlike.

Those libraries and their pkgdata have to be provided in the ipk/, pkgdata/ 
and shlibs/ directories of an external toolchain. The external-toolchain.bb 
recipe itself then copies them into the deploy directory and they are then 
used during the image generation process. I've been using it for quite some 
time and see no problems with debian naming, i.e. glibc vs. libc6. Check 
do_stage of external-toolchain.bb to see what it expects.

Please note, that meta-toolchain.bb by default produces an SDK, which can be 
used outside of OE for cross-compiling. It can also be used inside OE for 
compilation by using external-toolchain.bb, but the step which packages ipks 
and pkgdata for libc and libgcc to be installed into the filesystem, is 
missing from the meta-toolchain.bb...

BTW, I'm using external-toolchain.bb in my project for prebuilt binary 
toolchains, like CodeSourcery Lite or old MontaVista Pro. I have their 
libraries packaged into ipks for rootfs to work. One way is to extend 
external-toolchain.bb recipe to do the packaging...

-- 
Denys



  reply	other threads:[~2009-08-18 23:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:19 gcc-cross-sdk (GCC 4.2.3) limits.h woes Chris Conroy
2009-08-13 15:52 ` Holger Hans Peter Freyther
2009-08-13 15:59 ` Khem Raj
2009-08-18 16:27   ` Chris Conroy
2009-08-18 17:41     ` Denys Dmytriyenko
2009-08-18 18:30       ` Chris Conroy
2009-08-18 19:50         ` Tom Rini
2009-08-18 20:10           ` Chris Conroy
2009-08-18 21:21             ` Phil Blundell
2009-08-18 21:25             ` Khem Raj
2009-08-18 21:32               ` Phil Blundell
2009-08-18 22:42                 ` Denys Dmytriyenko [this message]
2009-08-19  3:17         ` Holger Hans Peter Freyther
2009-08-19 14:26           ` Chris Conroy
2009-08-19 15:11             ` Holger Hans Peter Freyther
2009-08-18 21:39       ` Is there an easy way to get a minimalist image without I18n libraries? Lars Holowko
2009-08-19 12:24         ` Is there an easy way to get a minimalist image without I18nLibraries? marcin
2009-08-19 20:32           ` Lars Holowko

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=20090818224251.GA26195@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.