- Run or download setup.exe from this link: http://www.cygwin.com/setup.exe.
- Select "Install from Internet" & "Direct Connection" if that's your Internet setting.
- Keep the recommended Root Directory and "Install for" if you don't feel like changing them.
- Select your Internet connection
- On Select Packages window, Open "Devel" to select gdb & open "Editor" to select vim if you want vi (I know, I'm old-fashioned...)
Run Cygwin Bash Shell from Programs list.
Building your first C++ program
$ g++ yourprog.cpp
If you see the following error:
“This application has requested the Runtime to terminate it in an unusual way”
Add the following:
export TEMP=/tmp to your ~/.bashrc file
Close and restart your Cygwin Bash Shell.
No comments:
Post a Comment