environment variable in linux gcc

view story

http://www.linuxquestions.org – Hi, I am able to get environment variable using getenv function in gcc.But when tried to change the value using setenv function, its value is changed as seen after calling getenv function. when try to seen the value of environment variable in command terminal in ubuntu. it is not showing any change. Can any one tell me, how can i change environment variable in linux gcc. ---------------- Linux Learner (HowTos)