Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Script to build the previous toolchain versions #18

Open
ilg-ul opened this Issue · 0 comments

1 participant

@ilg-ul

I further expanded my build script to allow building previous toolchain versions.

The script is available from

To get an idea of it's usage, below is the script --help message:

ilg-mbp:NoBackup ilg$ sh arm-cs-tools-build.sh --help

Script to build the Mentor/CodeSourcery ARM EABI toolchain on Mac OS X.

Usage:
    arm-cs-tools-build.sh [clean]
        Build the latest Mentor/CS version with the latest JS release.

    arm-cs-tools-build.sh 2011.09-69 0084249 [clean]
    arm-cs-tools-build.sh 2011.03-49 0084249 [clean]
    arm-cs-tools-build.sh 2011.03-49 706e734 [clean]
        Build the given Mentor/CS version with the given JS release.

Adding 'clean' to the end performs a 'make clean' on the given configuration.

ilg-mbp:NoBackup ilg$ 

The point is that during the lifespan of a product it happens that after a while we need to rebuild a certain old version of the product exactly with the same compiler used initially, and the toolchain might not be at hand, so it is important to have a procedure to rebuild the old version.

My script attempts to solve this, so by remembering the Mentor/CS version and the Makefile release it should allow to rebuild the same toolchain from scratch.

All three above configurations build properly.

In case you find something useful in this script, you are free to use it in the Makefile (for example I set the PROCS value to the actual number of cores available, 8 in my MBP case).

Liviu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.