[oe] [PATCH][RFC] gcc: Restructure package creation.

Phil Blundell philb at gnu.org
Mon Feb 1 12:55:54 UTC 2010


On Sun, 2010-01-31 at 23:57 -0800, Khem Raj wrote:
> Hi,
> 
> Inspired by a discussion with RP on IRC this patch does following.
> 
> * Package most of target libraries during gcc-cross recipes
>   and not during gcc target recipe.
> 
> * Do not build and package libraries like libstdc++ and others
>   twice (once during cross compile and then during target gcc compile)
> 
> More libraries that can be built in cross gcc recipe should be packaged
> there. These changes can be done after this patch.
> 
> Comments ?

I think it might be better to unbundle the libraries from gcc{-cross}
altogether, and put them in a new recipe called gcc-runtime or
something.  Having them built as part of gcc-cross seems to cause a
certain level of headache for people who are using external toolchains;
this happens already with libgcc and libstdc++, and I suspect your patch
will cause the same issues to start popping up with the other libraries.

Or, even better, put the different language runtimes in separate recipes
so that folks who want to use Fortran can build those libraries without
everybody else needing to do so.

p.






More information about the Openembedded-devel mailing list