VisualGDB Environment Syntax

VisualGDB Environment Syntax

VisualGDB allows customizing the environment of the command-line tools it starts. The general environment line syntax is the following:

VAR1=VALUE1|VAR2=VALUE2

E.g. setting CC to arm-gcc and LD to arm-ld would require the following environment line:

CC=arm-gcc|LD=arm-ld

You can also include the old variable value in the environment line. E.g.:

PATH=%PATH%;c:\MinGW\bin|CC=gcc

Note that the path separator for Linux/MacOS environments is different:

PATH=%PATH%:/opt/arm-gcc/bin|CC=arm-gcc

Please use the %VAR% syntax rather than $VAR for both local and remote commands.