|
Re: environment variables (path) [message #152321 is a reply to message #151422] |
Fri, 26 August 2005 10:46 |
Eclipse User |
|
|
|
Originally posted by: dschaefer.qnx.com
"Anthony Knittel" <anthony@centreforthemind.com.au> wrote in message
news:de0orb$n9g$1@news.eclipse.org...
>
> i've somehow set up eclipse to add an entry to the PATH environment
> variable, and can't find out how to undo it. externally the path is
> something like:
>
> c:\something;c:\mingw\bin;
>
> and if i go to Windows->Preferences, C/C++->Managed Build and look at
> System Variables it shows the same value for the path.
>
> now if i select my project and choose properties->C/C++
> Build->Configuration Settings->Environment there is nothing defined under
> User Variables but under System Variables there is one entry (indicating
> PATH has been modified?), which is now:
>
> c:\cygwin\bin;c:\something;c:\mingw\bin;
>
> so its been changed somewhere. where??? if I choose the Project tab and
> choose Show Parent Level Variables and look at PATH, it is defined
> correctly (the first, external setting). If i go back to the
> Configuration tab and choose Show Parent Level Variables it shows the
> modified path (the one i don't want).
>
> I want to undo this change (without adding a new patch to the path on top
> of it), where has it been set?
Yes, this is an unfortunate feature for mingw users, but cygwin\bin is
automagically added by the CDT. To override it you need to go to your
project settings and make PATH a user variable there. This will give you the
opportunity to remove it.
I can't seem to find a bug in bugzilla on this, but feel free to raise one.
Doug.
|
|
|
Powered by
FUDForum. Page generated in 0.02745 seconds