[buildd-tools-devel] Bug#695287: cross builds don't just require alternate b-d's, but additional ones too

Matthias Klose doko at ubuntu.com
Sun Dec 9 12:36:35 UTC 2012


For toolchain packages like gcc-4.7, you can't deduce the build dependencies
automatically. Cross building the gcc-4.7 package (not building the cross
compiler) requires additional build dependencies, which for a native build are
used from the current build. These are:

  g++-<target-triplet>
  g++-multilib-<target-triplet> [<target-multilib-archs>]
  gobjc++-<target-triplet>
  gobjc++-multilib-<target-triplet> [<target-multilib-archs>]
  gfortran-<target-triplet>
  gfortran-multilib-<target-triplet> [<target-multilib-archs>]
  gccgo-<target-triplet>
  gccgo-multilib-<target-triplet> [<target-multilib-archs>]

If these should not be hard-coded in the build tools, then we do need some
syntax for the control file to specify these cross build dependencies, best in a
way which is independent of the target architecture.

  Matthias



More information about the Buildd-tools-devel mailing list