title: Configure Eclipse CDT to use g++
body: <p>I have cygwin installed, and I want to use Eclipse with CDT for development under <strong>Windows 7</strong>. However, I get following error:</p>
  
  <pre><code>**** Build of configuration Default for project hello_cpp ****
  
  make all 
  g++ -O2 -g -Wall -fmessage-length=0   -c -o hello_cpp.o hello_cpp.cpp
  process_begin: CreateProcess(C:\cygwin\bin\g++.exe, g++ -O2 -g -Wall -fmessage-length=0 -c -o hello_cpp.o hello_cpp.cpp, ...) failed.
  make (e=5): Access denied.
  
  make: *** [hello_cpp.o] Error 5
  
  **** Build Finished ****
  </code></pre>
  
  <ul>
  <li>I'm able to use g++ as standalone compiler.</li>
  <li>cygwin /bin folder is
  added to path.</li>
  </ul>
  
  <p>After googling I found out that <code>C:\cygwin\bin\g++.exe</code> is a cygwin symbolic link and Windows doesn't understand it and I need to point to the g++-3 location directly. How do I do it? </p>