How to install g++ in Cygwin?

Finally I could find the answer in this link. If one uses the MinGW installation file again, one can add some other packages. I installed all Devel packages for MinGW and followed this tutorial which helped me to solve the problem.