All of lore.kernel.org
 help / color / mirror / Atom feed
* question re gcc-runtime vs libgcc
@ 2010-12-31 10:51 Angus Lees
  2010-12-31 12:46 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Angus Lees @ 2010-12-31 10:51 UTC (permalink / raw)
  To: poky

Sorry if the answer is obvious, but I'm trying to put together some
sdk packages and I can't see how gcc-runtime is supposed to build.

I'd like to have a static libgcc.a to isolate the sdk from whatever
libgcc.so the platform ships.  I've modified the gcc-cross{,sdk}
recipes appropriately and this part all seems to build as expected.
gcc-runtime however fails to build because libgcc doesn't get pulled
from its gcc-build-internal-* hiding place until do_install() - way
too late to be available during the build of the actual gcc-runtime
libraries.  I don't see how the situation would be any different with
a shared libgcc.so.

Can someone walk me through how this part of gcc-runtime is meant to work?


Also: I think in my case, I actually want to ship libgcc.a in
gcc-cross{,sdk} itself since it needs to correspond with the compiler
used (rather than the target sysroot as such) - but I admit I'm a bit
lost in a maze of twisty cross targets, all almost alike.  Does this
seem a reasonable thing to do?
(This made sense to me in openembedded-land, but I haven't quite got
my head around the gcc-runtime and gcc-crosssdk subtleties yet)

-- 
 - Gus


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-05 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-31 10:51 question re gcc-runtime vs libgcc Angus Lees
2010-12-31 12:46 ` Richard Purdie
2010-12-31 13:22   ` Angus Lees
2011-01-01  1:21     ` Richard Purdie
2011-01-05 13:44       ` Angus Lees

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.