Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Is path to cygwin automatically added?

You might have an old version of the project file in there with some things that are not used no more. I had opened a similar bug about this and Mikhail fixed it, so you might need to run newer version of CDT.

Fedja


On 4/2/07, Stefan Weber <weberste@xxxxxxxxxxxxxxx> wrote:
Hi,

I'm having Cygwin and MinGW installed on my computer. I want CDT to use
the MinGW tools. To achieve this, I thought it's enough to make sure
that the path to the MinGW binaries is listed before the path to the
Cygwin binaries in Windows' PATH variable (I actually even removed the
path to cygwin...)

When building from the command line (using the Makefiles generated by
Eclipse), everything is fine, i.e. the tools from MinGW ar used.
However, when using Eclipse to build the project, it uses the cygwin tools.
I could track down the problem and found out, that Eclipse added the
path to the Cygwin libraries to the PATH variable itself. And as the
cygwin path comes first, CDT consequently uses the cygwin tools. (I
found that in Project -> Properties -> C/C++ Build -> Configuration
Settings -> Environment. There, under System Variables the PATH variable
is listed with the above problem.)

To sum up, when I check the PATH variable in Windows' environment
variables dialog and also on the command line, it does NOT contain the
path to the cygwin binaries. However, in Eclipse the path is suddenly there.

Does anybody have an idea how this can be fixed, i.e. how I can remove
the path to cygwin from the PATH variable that is used by Eclipse?

Thanks,

Stefan
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top