Differences between revisions 7 and 8
Revision 7 as of 2006-10-18 14:41:55
Size: 2736
Editor: HectorOron
Comment: Builds 64bits-dev libraries
Revision 8 as of 2006-10-18 15:43:39
Size: 2829
Editor: HectorOron
Comment: Libraries built OK for all arches
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
DEBARCHLIST=${DEBARCHLIST:="powerpc arm mips mipsel sparc s390 amd64 m68k hppa alpha"} DEBARCHLIST=${DEBARCHLIST:="powerpc arm mips mipsel sparc s390 amd64 hppa alpha ia64 m68k i386"}
Line 24: Line 24:
It builds succesfully for:
 * powerpc
 * arm
 * mips
 * mipsel
 * sparc
It builds succesfully:

 * Libraries
for all arches built succesfully on unstable.

 * gcc-4.0
:
   * powerpc
   * arm
   * mips
   * mipsel
   * sparc

Emdebian Toolchain


This is an active development. This page has been created to tell about latest status and what things could be done to improve Emdebian toolchain.

To use this toolchain add to your /etc/apt/sources.list:

################################
# EmDebian Toolchain
# deb http://www.emdebian.org/debian/ testing cross-testing
deb http://www.emdebian.org/debian/ unstable cross-unstable

For now main development has been focusing on [http://www.emdebian.org/repos/tools/buildcross/trunk/ buildcross].

 $ svn co http://www.emdebian.org/repos/tools/buildcross

A list of architectures supported are hardcoded into the script:

DEBARCHLIST=${DEBARCHLIST:="powerpc arm mips mipsel sparc s390 amd64 hppa alpha ia64 m68k i386"}

It builds succesfully:

  • Libraries for all arches built succesfully on unstable.
  • gcc-4.0:
    • powerpc
    • arm
    • mips
    • mipsel
    • sparc

Surely fails:

Debian/testing and Debian/unstable suites are supported.

The script manages to put packages into emdebian aptable repository.

TODO List

  • GCC-4.1 requires lib64gcc1 libc6-dev-ppc64 libc6-ppc64, buildcross need to obtain latest version for powerpc build.
  • Build gcc-3.3 && gcc-3.4 (I haven't tried it yet)

  • Add feature to apt update && upgrade before running script

  • Make it compatible with Sarge
    • Tricky matter as some commands that use this script are not available with Sarge.
  • Write a wrapper that calls all builders from all jails
  • Write a script that tells about builds succesful|failed
    • A chart by suite/arch/compiler
  • Build and merge PPC binaries somewhere (may be another script)
  • About packages sources
    • Packages sources are taken from Debian proper, so should we add them to a source repository ?
  • (At server) mv /var/non-system to other partition
    • Beware /var/emdebian is binded to /jails structure.
  • Minor changes to make it nicer
    1. Script fails building whenever it founds any error. So, other architectures do not have any chance to build.
    2. Do a hook to run whenever there is a new version uploaded into proper repositories
    3. Make desired toolchain thru command line opts (ex. build just for one arch)
    4. Check if dirs exists - Script fails if a directory that it is trying to be created exist.
    5. Provide an archive key (so our stuff is signed)

On Test List


CategoryEmdebian