Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » environment variables (path)
environment variables (path) [message #151422] Thu, 18 August 2005 01:39 Go to next message
Anthony Knittel is currently offline Anthony KnittelFriend
Messages: 16
Registered: July 2009
Junior Member
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?


A
Re: environment variables (path) [message #152321 is a reply to message #151422] Fri, 26 August 2005 10:46 Go to previous message
Eclipse UserFriend
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.
Previous Topic:CDT 3.0 Now Available
Next Topic:Missing Informations on CDT Homepage
Goto Forum:
  


Current Time: Fri Nov 08 22:33:31 GMT 2024

Powered by FUDForum. Page generated in 0.02745 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top