[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333952: Cross-compilers should not use biarch



On Fri, Oct 14, 2005 at 09:06:19AM -0700, Josh Triplett wrote:
> Currently, for platforms which natively build a biarch GCC, such as
> powerpc, the GCC package also attempts to build a biarch cross-compiler
> when targetting that platform.  This would require the installation of
> cross-compilation libraries for two different cross-architectures,
> rather than just one, in order to build and use GCC; otherwise, the
> build fails when attempting to find a libc for the alternate target.  In
> addition, dpkg-cross doesn't appear to support converting and installing
> library packages for the alternate architectures.  It also seems far
> more likely that when setting up a cross-compilation environment, one
> would simply construct two cross-compilers, one for each of the two
> architectures, rather than one two-target compiler.

My experience suggests that having a biarch cross compiler is, in fact,
often desirable.

dpkg-cross shouldn't need to "convert" library packages.  The same
packages that would be used on a native build are used; they'll be
Architecture: i386, even if they contain amd64 binaries, et cetera for
other platforms.


-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: