buildtoolchain - scripts for building toolchains
overview
In the course of working on the research-based operating system K42, I've needed to build a few toolchains, using gcc, glibc and binutils. With the sometimes-complex dependencies between these packages, I've built a few scripts to automate the process.
details
The BuildToolchain system has two parts:
build script
A general (shell script) framework for configuring, building and installing a number of packages in a certain order.
Download here
This script depends on bash (hence the #!/bin/bash) -
it uses some features that are fairly bash-specific
Run as:
./buildtoolchain <definition-file>
definition files
Defines the packages to be built, and how to build each one.
The following definition files are available:
- k42-gcc3.4.build - a toolchain for K42 using gcc 3.4
- k42-gcc3.3.build - a toolchain for K42 using gcc 3.3