{"id":6312,"date":"2013-06-08T10:30:12","date_gmt":"2013-06-08T17:30:12","guid":{"rendered":"https:\/\/visualgdb.com\/w\/?p=6312"},"modified":"2020-06-08T10:31:31","modified_gmt":"2020-06-08T17:31:31","slug":"visualgdb-environment-syntax","status":"publish","type":"post","link":"https:\/\/visualgdb.com\/documentation\/environment\/","title":{"rendered":"VisualGDB Environment Syntax"},"content":{"rendered":"<h1>VisualGDB Environment Syntax<\/h1>\n<p>VisualGDB allows customizing the environment of the command-line tools it starts. The general environment line syntax is the following:<\/p>\n<pre class=\"code\">VAR1=VALUE1|VAR2=VALUE2<\/pre>\n<p>E.g. setting CC to arm-gcc and LD to arm-ld would require the following environment line:<\/p>\n<pre class=\"code\">CC=arm-gcc|LD=arm-ld<\/pre>\n<p>You can also include the old variable value in the environment line. E.g.:<\/p>\n<pre class=\"code\">PATH=%PATH%;c:\\MinGW\\bin|CC=gcc<\/pre>\n<p>Note that the path separator for Linux\/MacOS environments is different:<\/p>\n<pre class=\"code \">PATH=%PATH%:\/opt\/arm-gcc\/bin|CC=arm-gcc<\/pre>\n<p>Please use the <strong>%VAR%<\/strong> syntax rather than <strong>$VAR<\/strong> for both local and remote commands.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VisualGDB Environment Syntax VisualGDB allows customizing the environment of the command-line tools it starts. The general environment line syntax is<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[199],"tags":[],"_links":{"self":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/6312"}],"collection":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/comments?post=6312"}],"version-history":[{"count":1,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/6312\/revisions"}],"predecessor-version":[{"id":6313,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/6312\/revisions\/6313"}],"wp:attachment":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/media?parent=6312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/categories?post=6312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/tags?post=6312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}