More and more people want to use open source IDE instead of Visual Studio to writing C/C++ because it’s clean and free. Here, we introduce eclipse to writing C/C++ program. Eclipse is an excellent IDE for Java programming. Due to its open source platform, we may use it for C/C++ programming as well. CDT(C/C++ Development Tool) is a plugin that allows eclipse to support C/C++. Cygwin is a Linux-like environment for Windows and it allows you to use gcc/g++ compiler. There’re just several steps to build up your own eclipse. Now, let’s go.
Step 1:
Download Cygwin setup here: http://www.cygwin.com/setup.exe
Install it according to the following guide:
Recommend to choose a short path and a simple name of the root directory

Choose a location to download the installation file(not necessary be a subfolder of root directory)

Choose a mirror site you like. You may view the mirror site list here: http://cygwin.com/mirrors.html

Expand Devel and select these components (by clicking skip label):
gcc-core: C compiler
gcc-g++: C++ compiler
gdb: The GNU Debugger
make: The GNU version of the make utility

Note: When you choose these components, Cygwin will automatically choose some other dependence for you. Just keep them.
Then it will download these packages and install them. When it completes, click Finish.
Step 2:
Add bin folder in the root directory of Cygwin to the environment variables named path. Either user variable or system variable is fine. In the above example, you should use E:\cygwin\bin.
Step 3:
If you download Eclipse IDE for C/C++ Developers, you may skip Step 3 and directly use it.
Download CDT here: http://www.eclipse.org/cdt/downloads.php
Make sure you select the suitable version for your eclipse.
Installing CDT may differ from its version. Here we use eclipse 3.4.2+CDT 5.0.2.
Unzip CDT zip file into a folder and fire up eclipse.
Click Help>Software Updates and choose Available Software.
Click Add site>Local and select the location of the CDT folder.

You will see the CDT is added to the Available Software list. Choose it and click Install.

Wait until it completes installation and enjoy it after restarting eclipse.



In Step 2 what you have to do is to go to control panel-> system ->advance->environment variable
and add a variable named ‘path’ and set E:\cygwin\bin (for example) to its value
thanks
Pingback: Basic Knowledge of Cygwin « Genius-Field
i think your’s board nice dy,
gorgeous your’s blog cool du,
This an Good post, I will be sure to bookmark this post in my Reddit account. Have a great day.
Hi there just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Chrome. I’m not sure if this is a formatting issue or something to do with web browser compatibility but I thought I’d post to let you know. The layout look great though! Hope you get the problem fixed soon. Many thanks
Thanks for your comment. However, I’m using Chrome 9.0.597.84 and don’t see any problems for the text.
Good to be going to, it has been weeks a newlyweds of. Well one more write-up that could function out just fine. I need something like it something I am targeting on, and mine has the same matter as yours. I am relieved which I located it, great share.
I enjoy to use excellent webmaster instruments, they assist me to know my serp position on search engines.
U’r the MAN!! i have been trying to install this software for 3 day now….and u explained it perfectly!
Well Done Sir!
can we copy the cygwin components into another computer
Yes, I guess so.
i was going through all above and said and everything was going well.
i was using eclipse for java earlier…but as i added path for cdt as f:/cygwin/bin
and meanwhile opened eclipse.exe it stopped opening rather sayiing JRE is not found in bla bla directory..but u know JDK JRE all are there….m not getting what happened..
is java and c++ can nt be worked out simultaneouly … give me solution buddy
They can be used simultaneously. You need to append Cygwin to the PATH instead of overwrite it. After doing that, open a terminal and type java to see whether the system can find java binary.
“Build up C/C++ environment on eclipse using CDT + cygwin | Genius-Field” was a superb posting, can’t wait to look over
alot more of ur blog posts. Time to waste numerous time
on the internet lolz. Thank you ,Bryan
There’s certainly a lot to find out about this topic.
I like all the points you made.
Feel free to visit my blog post :: frontline commando 2 android hack
Keep on working, great job!
My webpage … Working Hay Day Cheats
visit your medical doctor, he / she may well
deep freeze these wart combined with liquefied nitrogen. A nice
sore ought to document through the wart as well as the decayed paper will probably go away
as soon as a week. Another solutions, for instance , Cantharidin, Bleomycin and Aldara are often put into the wart.
An alternative complementary healthcare may very well be minimal
medical operation, the location where wart happens to be lower back or it
may be laser treatment the location where device screws and as well , break wart areas.
High quality approach is frequently employed for hpv warts are actually tough to consider.
No matter if some one searches for his necessary thing, thus he/she desires to be available that in detail, so that thing
is maintained over here.
Inspiring story there. What occurred after? Thanks!
Also visit my web page :: Klondike Cheats
I have read so many content about the blogger lovers however this piece of writing is genuinely a good article, keep it up.|