I have a program that is writen in C++, and I'm trying to set up the cygwin interface in order to save it to the correct path, compile it using the correct commands, and send the output to the screen. I want to understand how to achieve the connectivity to cygwin. As of yesterday, I downloaded it to... c:\cygwin, and I have a shortcut to the "terminal" on my desktop. Can someone guide me? I never could understand the linking, etc., but I managed to compile my program using an "online c++ compiler". If I want to send my output to a file... the online stuff won't help me. TIA, Bill
billbouris5
0
Newbie Poster
Recommended Answers
Jump to Postcygwin is a bash environment for Windows. This means that you have to navigate it like you navigate a bash terminal environment (i.e., Linux/Unix). Here is some introductory material on that.
To access …
Jump to PostYeah, the environment is basically just your old Unix shell environment.
do I have to download the gcc separately???
Yes, kind of. Cygwin uses a package management system (similar to other Unix variants like Linux or Mac OSX). If you re-run the
setup.exe
(like you did when installing …
Jump to PostI've been running Cygwin for many years, and doing serious cross-platform development in that environment. Most of the GNU and Linux tools are available for download and installation via the Cygwin installation tool, including the compiler/development suite and all the tools that come with that. When you run an application …
Jump to Postthe easiest path to just get something compiled is probably to install codeblocks (with MinGW). Open your source file in CodeBlocks and hit the compile button.
All 13 Replies
billbouris5
0
Newbie Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
NathanOliver
commented:
Always Informative
+11
billbouris5
0
Newbie Poster
billbouris5
0
Newbie Poster
billbouris5
0
Newbie Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
billbouris5
0
Newbie Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
billbouris5
0
Newbie Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
billbouris5
0
Newbie Poster
Dani
4,064
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Andy_5
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.