Professional Documents
Culture Documents
Guia Do Usuário Das Ferramentas de Linha de Comando Do VxWorks, 6.2 - Manualzz
Guia Do Usuário Das Ferramentas de Linha de Comando Do VxWorks, 6.2 - Manualzz
mstllDi\wrenv.exe
Programs > Wind River > VxWorks 6.0 > VxWorks 6.0 Development Shell. This shortcut invokes wreny to open a Windows command prompt configured for Workbench development. Workbench also supplies a fully configured Windows version of the Z shell (sh.exe). The Z shell, sometimes called zsh, gives Windows users a UNIX-like command-line interface.2 Creating a Development Shell with wrenv 2.3 Options to wrenv 2.3 Options to wrenv The wrenv utility accepts several options, summarized in Table 2-1, that can be useful in complex build environments. For most purposes, -p is the only option you need, Table 2-1 Options for wrenv Option Meaning Example a Do not redefine existing environment variables. * wrenv.sh -p vaworks-6.0 -e (Variables identified with addpath in install.properties are still modified.) -fformat Select format for print_eny or rint_vars (see -0): plain (the default) sh sh bat tel -ipath Specify the location of install. properties (Overrides the default method of finding install.properties.) -o operation Select operation: run ‘The default operation. Configures the environment and creates a command shell in which subsequent commands are executed. Checks the value of SHELL (usually defined under UNIX) to determine which shell program to invoke; if SHELL is not defined, it checks ComSpec (Windows). print_vars* Show environment settings that would be made if wreny were invoked with -0 run c2\> weeny -p vaworks-6.0 -o print_vars -# ah © wrenv.sh -p vaworks-6.0 -i ircioryPath/ Snetall -properties > weeny -p vawarks-6.0 0 fenv.ch ~p vaworks-6.0 -o Bd c:\> weeny - print varsVxWorks Command-Line Tools User's Guide, 6.2 Table 2-1 Options for wreny (contd) Option -p package -rro0t Meaning print_env? Like print_vars, but shows only variables that are exported to the system environment. (Such variables are identified with export or addpath, rather than define, in install.properties.) print_packages* List the packages defined in install.properties and theirattributes. (The displayed name of a package can later be with the -p option.) speci print_compatible® Use with