All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Standalone gcc library builds
Date: Mon, 29 Mar 2010 22:42:39 +0100	[thread overview]
Message-ID: <1269898959.1681.692.camel@rex> (raw)
In-Reply-To: <20100329174253.GC25428@gmail.com>

On Mon, 2010-03-29 at 10:42 -0700, Khem Raj wrote:
> I have had gcc build all runtimes libraries separately. I think we should
> device gcc build and we can disable building certain directories via
> --disable-<dir>. We dont have to stash libgcc. Its not a big library and
> its probably better to rebuild it along with rest of runtime libraries IMO
> and probably we should have packages for each language runtime so people
> who dont need C++ or Java or fortran dont have to build those. The same
> should be tunable in gcc builds too.

I talked with Khem on irc but just for the record here, I've done some
testing with gcc 4.3.3 in Poky and have pushed my results to:

http://git.pokylinux.org/cgit.cgi/poky/log/?h=master-gcc-runtime-testing

This adds a gcc-runtime recipe which builds libgcc, libssp and libstdc++
as test cases. It will be possible to build other runtime libs
conditionally on whether they're enabled like libfortran easily enough.

We have to add in an extra dependency layer to the compiler bootstrap
but that isn't an issue.

The bit that is ugly is the stashing of headers in staging by gcc-cross.
The issue is we want to build the target libs in our normal "target"
context so cross.bbclass is not used by gcc-runtime. This means
HOST==TARGET and hence building gcc itself fails.

Discussion on how best to do this welcome :)

Cheers,

Richard




  reply	other threads:[~2010-03-29 21:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 15:53 Standalone gcc library builds Richard Purdie
2010-03-29 17:42 ` Khem Raj
2010-03-29 21:42   ` Richard Purdie [this message]
2010-03-30  9:33     ` Koen Kooi
2010-03-30  9:42       ` Richard Purdie
2010-03-30 10:14         ` Koen Kooi
2010-03-30 10:29           ` Richard Purdie
2010-03-30 17:50             ` Khem Raj

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=1269898959.1681.692.camel@rex \
    --to=rpurdie@rpsys.net \
    --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.