Pre-pre-review request: crosstool

Dan Kegel dank at kegel.com
Fri Apr 15 03:14:12 UTC 2005


I'm working on packaging gcc/glibc/binutils cross-toolchains
as Fedora packages.      In particular, I'd like to contribute
x86 -> x86_64, x86 -> powerpc, and x86 -> sparc crosstoolchains;
that would help x86 Fedora developers try cross-compiling
their packages for the other supported Fedora architectures.
I'll probably pick the gcc and glibc versions as Fedora
normally uses.

Many more combinations are possible; you can see which ones
my build script tests at
  http://kegel.com/crosstool/crosstool-0.31/buildlogs/
but most of them are not popular enough to merit inclusion
in Fedora Extras.  However, I want to make it easy for
anyone to build RPMs for the combinations he or she is interested
in, even if prebuilt RPMs aren't available.

Because there are so many possible
combinations, and because I want to make it easy for
people to try uncommon combinations, I'm doing things a little differently:

First, each source rpm corresponds to one combination of
gcc, glibc, and binutils, and generates subpackages for
each desired target cpu.  That cuts down on the number
of source RPMs by about 10x.  It's also the only sane
way to handle the circular dependencies between gcc
and glibc (trust me, you don't want to know).

Second, I'm using a specfile template to generate the
specfiles for each supported combination of gcc, glibc, and binutils.

It all seems to work (knock on wood), and I'm starting to
address the packaging checklist.  For instance, I made
sure the source rpms can be built into binary rpms by
nonroot, and I've whittled down the list of rpmlint errors
by a couple orders of magnitude.

So, who wants to review this monster?

Thanks,
Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html




More information about the fedora-extras-list mailing list