Didj crosstool-NG Build Environment

Background

I have used these instuctions in the past to successfully build toolchains for Didj. They are based on instructions I originally found at http://blog.leshak.ru/english/pages/how-to-build-cross-toolchain-arm-uclibc-eabi-using-crosstool-ng/

(That site was not responding as of this writing).

Download and unpack crosstool-NG (latest version 1.7.1 as of 17 July 2010)

Configure and install

Add the path to the ct-ng

Create a temporary folder for the assembly of the package

Copy preconfigured config files

If necessary, you can change the configuration (but it usually works fine without changes)

You can usually just change the path to the cross-toolchain

Configure CT_PREFIX_DIR to change the path to the cross-toolchain

Run the compilation, get a coffee - have lunch, etc. (after “.” you can specify the number of concurrently running tasks. Set it to equal the number of CPU cores in your system)

An example log of a successful compilation: (There is one more step after this finishes)

'''Last step: Create a file named 'crosscompile' with the contents below. Whenever you want to compile anything for the device, enter 'source crosscompile' first to set the environment variables.'''