Didj crosstool-NG Build Environment

Background

I have used these instructions in the past to successfully build uclibc eabi 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

this section previously told you to use the following as the prefix dir, unfortunately it causes issues:

It has now been tested and the following should allow you to install the toolchain without issues:

if you look at Configure and install we use the $HOME/ctng folder, we should probably use $HOME/x-tools then we wouldn't need to edit the .config file at all. 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 (edit accordingly for your directory structure). Whenever you want to compile anything for the device, enter 'source crosscompile' first to set the environment variables. compiling for didj, use:'''

'''Compiling for Explorer, use: