A.2.2. armenv command-line arguments

Table A.1 shows the command-line arguments that are available.

Table A.1. Generic armenv arguments

ArgumentDescription
--helpDisplays help on the command-line arguments.
-r root

The absolute path to the root of the product installation, install_directory. For example, on Windows the default root is:

C:\Program Files\ARM

-p product

The ARM RealView product. See Product syntax for more details.

--andCompute settings for all products before this argument, then do the same for those following it. The settings in the second group override those in the first.
--proc

Change the environment for the current process only.

You cannot use this argument with --system or --user.

--exec

Execute a program in the new environment.

You cannot use this argument with --bat.

-uAttempts to undo the changes to the environment that were made when setting up the product.

Table A.2 shows the command-line arguments that are specific to Windows systems.

Table A.2. armenv arguments specific to Windows

ArgumentDescription
--systemUpdate the Windows SYSTEM area of the registry. This is the default.
--userUpdate the Windows USER area of the registry.
--batChanges the environment for the current command prompt window. This is the default.

Product syntax

The syntax for specifying the product is:

-p category [name] [version [rev]] [-v name value]...

where:

category

The product identifier, for example, RVDK.

name

Do not use this argument (armenv uses the default name Contents).

version

The version number of the product, for example, 2.2. If you do not specify a version, the most recent version of the installed product is used.

rev

A specific build number for the product. If you do not specify a build number, the most recent build of the installed product is used.

-v name value

Identifies a variant of the same product.

name

The type of the variant, for example, platform. It is suggested that you use only the platform variant.

value

The specific variant, for example, win_32-pentium.

For example: -v platform win_32-pentium.

Copyright © 2005, 2006 ARM Limited. All rights reserved.ARM DUI 0276B
Non-Confidential