Putting cross compilers into Fedora

Jakub Jelinek jakub at redhat.com
Wed Sep 1 12:21:04 UTC 2010

On Wed, Sep 01, 2010 at 02:06:37PM +0200, Ralf Corsepius wrote:
> >> - Fedora's rpm and some components the build-infrastructure have serious
> >> issues related to cross-building.
> >>
> >> - A cross compiler alone is not worth it, you need a whole zoo of
> >> further cross-target packages to make it usable.
> > I don't see why.
> You'd need at minimum the infrastructure gcc itself needs, e.g. glibc, 
> kernel-headers, mpfr, mpc, libelf, ppl, cloog etc.

You don't need mpfr, mpc, ppl, cloog nor libelf, all those are host
libraries, not target libraries.  cc1/cc1plus links against them or dlopens

For cross gcc I guess the important question is, do we want gcc-4*.src.rpm to
build all the cross compilers (and, is C enough, or do we need C++ too?), or
do we have one cross-gcc-4*.src.rpm that semi-loosely tracks gcc-4*.src.rpm
and builds all the cross compilers (BuildRequires all the cross-binutils and
all cross-glibc/kernel-headers), or each cross would have its own src.rpm?
I think the last one would be a maitanance nightmare.
I hope cross Fortran and especially cross Java (or cross Ada/ObjC/ObjC++)
aren't needed, especially libjava builds for eons and has myriads of target


More information about the devel mailing list