ARM Compiler Toolchain v4.1 Web Patch, Build 713 for Linux

The ARM Compiler Toolchain v4.1 Web Patch, Build 713, is intended for use with ARM RVDS v4.1 products. It can be used to update RVDS 4.1 Standard, Professional or Evaluation installation, whether previously patched or an original installation. It is NOT compatible with other releases of RVCT/RVDS.

This patch consists of an updated compiler, linker, assembler, fromelf, and armar program executables, include files and C/C++ libraries.

Enhancements and Corrections

Details of the enhancements and corrections implemented by this patch are available on the ARM website

OS Platforms

This version of the tools has been tested on the following supported platforms:

In addition, the tools have been tested on the following non-supported platforms:

Installation Instructions

To install the patch carry out the following steps:

  1. Ensure that you are currently using RVCT 4.1. To do this, type:

    armcc --vsn
    and ensure that this returns RVCT 4.1 build 462 or later.

  2. Extract all the files from the ZIP file into a temporary directory.

  3. Copy the include directory from the temporary directory to replace your existing include directory. The existing directory can be located by the ARMCC41INC environment variable, e.g:

    > echo $ARMCC41INC
    ~/ARM/RVCT/Data/4.1/462/include/linux/
  4. Copy the lib directory from the temporary directory to replace your existing lib directory. The existing directory can be located by the ARMCC41LIB environment variable, e.g.:

    > echo $ARMCC41LIB
    ~/ARM/RVCT/Data/4.1/462/lib/
  5. Copy the linux-pentium directory from the temporary directory to replace your existing linux-pentium directory. The existing directory can be located by the ARMCC41BIN environment variable, e.g.:

    > echo $ARMCC41BIN
    ~/ARM/RVCT/Programs/4.1/462/linux-pentium/
  6. The updated tools should now have been installed. To confirm this, open a terminal window and enter:

    armcc --vsn
    armlink --vsn
    armasm --vsn
    fromelf --vsn
    armar --vsn
    The version returned should be RVCT 4.1 build 713.

  7. After unzipping the executables, you may find that they cannot be executed because the UNIX permissions have been reset. The workaround is to set the execute permissions for the user with, e.g.:
    chmod u+x armcc

64-bit Linker

RVDS 4.1 Service Pack 1, and this patch, include a 64-bit version of the armlink binary. If you have installed RVDS 4.1 Sevice Pack 1 or later, there will also be a directory for 64-bit binaries. For example:

~/ARM/RVCT/Programs/4.1/462/linux-x86_64/

These can be updated by copying the contents of the linux-x86_64 directory from the temporary directory to this location. If have not installed RVDS Service Pack 1 or later this directory will not be present, but can be created if you wish to use the 64-bit version of the linker.

The linux-x86_64 directory also contains copies of armcc, armasm, fromelf and armar binaries. However, these are 32-bit binaries, and are provided because some functionality requires all the binaries to be in the same directory.

Note: By default, your system will be configured to use the 32-bit version of the linker. If you wish to use the 64-version, you must change the ARMCCBIN environment variable to point to the linux-x86_64 directory, and modify the PATH to include this directory instead of, or before, the linux-pentium directory.