Configuring the command-line environment¶
Configure the environment¶
The XTC Tools require an operating environment to be setup. This environment is formed with a set of environment variables, and these are used when the tools are searching for header files, libraries and target devices (see Environment variables).
All Command Prompt command-line examples in this document use the $ character to illustrate the prompt at which the commands are entered.
Click on the Windows Start Icon to open the Start menu
Choose XMOS–>XTC Tools v15.3 .1 Command Prompt
This will open an Command Prompt with the required environment variables set. All XTC Tools commands must be entered in this Command Prompt.
Type:
$ xcc --version
The reported version should be provided in any bug report.
Open a Terminal window
Enter the following command:
$ /Applications/XMOS_XTC_15.3.1/SetEnv.command
All XTC Tools commands must be entered in a Terminal in which this command has been run.
Type:
$ xcc --version
The reported version should be provided in any bug report.
Open a Terminal window
Change to the installation directory and enter the following command:
$ source SetEnv
All XTC Tools commands must be entered in a Terminal in which this command has been run.
Type:
$ xcc --version
The reported version should be provided in any bug report.