Cross-compilers.

David Woodhouse dwmw2 at infradead.org
Mon Sep 18 07:57:11 UTC 2006


On Mon, 2006-09-18 at 09:47 +0200, Ralf Corsepius wrote:
> On Mon, 2006-09-18 at 07:58 +0100, David Woodhouse wrote:
> 
> > 
> > > It would be great if Fedora could be cross compiled using any host 
> > > system to produce binaries for any target system, be it a supported and 
> > > rare host (s390, ia64) or an entirely new target (arm, mips*).
> > 
> > You'll never do that until we ban autoconf in packaging.
> 
> Sigh - Will you ever stop reiterating this FUD?

> All properly packaged "single-targeted" autoconf/automake based packages
> do support cross-compilation, OTB.

Then there are few of what you call 'properly packaged single-targeted'
packages out there, because seamless support for cross-compilation has
_not_ been my experience.

> Few packages do support mixed native/cross compilation and even less do
> support multi-target configurations.
> 
> > Packages in _general_ won't cross-compile.
> Yes, because many packagers don't test it and because rpm doesn't
> support it.

I've spent a lot of time attempting to cross-build the distribution.
RPM actually handles it just fine -- the problems were mostly caused by
the (possibly incorrect) use of autotools in the package itself.

I agree, however, that there is nothing _fundamentally_ evil about
autotools. Autotools don't kill cross-compilation; people do. Autotools
just seem to make it easy.

-- 
dwmw2




More information about the fedora-devel-list mailing list