2

how do the eclipse cpp find the mingw install path?

I can't configure the mingw path into envrionment path, but how can the eclipse cpp ide find the mingw?

Edit:

Try this: Windows -> preferences-> C/C++ -> Build -> Environment

but what should I add key-value into Environment

jiafu
  • 6,338
  • 12
  • 49
  • 73
  • I searched for [eclipse mingw](https://www.google.co.uk/search?q=eclipse+mingw), first result was [Eclipse, CDT & MingW Setup Guide](http://wiki.wxwidgets.org/Eclipse,_CDT_%26_MingW_Setup_Guide). Second result was [Configuring Eclipse for MinGW](http://stackoverflow.com/questions/12627481/configuring-eclipse-for-mingw). – Peter Wood Jun 19 '13 at 11:35
  • @Peter Wood, I wonder how you didn't close this question... – user1764961 Jun 19 '13 at 11:57
  • but what should I add key-value into Environment – jiafu Jun 19 '13 at 12:02
  • @user1764961 There are no accepted answers at the other end of the link. – Peter Wood Jun 19 '13 at 12:18
  • You can check the configuration for the toolchain inside eclipse. That will tell you what it will call to compile. If that only mentions the compiler (without a path) then it means that your PATH environment variable includes the directory where the compiler is installed. If that contains the exact path (I doubt it) then there must be something else going on... – David Rodríguez - dribeas Jun 19 '13 at 13:40

1 Answers1

3

Hm, last time I used it, it was expecting MinGW in C:\MinGW by default.

user1764961
  • 673
  • 7
  • 21