Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9275007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:29:15+00:00 2026-06-18T16:29:15+00:00

I am creating a very large project (a few thousand lines) and so would

  • 0

I am creating a very large project (a few thousand lines) and so would rather not use Notepad++. An IDE would make it so much easier. I have experience with Microsoft Visual Studio and love it. Is there some easy way to use Cygwin’s GCC from within Microsoft Visual Studio?

Alternately, are there any other good Windows IDEs for GCC besides NetBeans and Eclipse? (I hate both of them with a passion.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:29:16+00:00Added an answer on June 18, 2026 at 4:29 pm

    There are several ways to go here:

    Option 1: Create a Custom Build Tool

    Visual Studio 2005 and newer will let you register custom build tools. They tell the IDE how to transform files of one form (e.g. a .cpp file) into another form (e.g. an .obj file).

    So far as I know, no one has done this yet for GCC. And, doing it yourself requires writing COM code, which is probably too deep a pool to dive into just for a single project. You’d have to have a compelling reason to take this project on.

    You then have to manually adjust each project to tell it to use the custom build tool instead of the default, since you’re using a file name extension (.cpp, probably) that Visual C++ already knows about. You’ll run into trouble if you try to mix the VC++ and g++ compilers for a single executable built from multiple modules.

    On the plus side, if you were looking to start an open source project, this sounds like a good one to me. I expect you’d quickly gather a big user base.

    Option 2: Makefile Project

    1. Start Visual Studio and say File > New Project.

    2. In the Visual C++ section, select Makefile Project

    3. Fill out the Makefile Project Wizard:

      • Build command line: make
      • Clean commands: make clean
      • Rebuild command line: make clean all

    You can leave the Output (for debugging) field alone if you’ve named your executable after the project name and it lands where Visual Studio expects to find it.

    Leave the rest of the fields alone unless you know what they are and why you want to change them. As an example, you might choose to pass a -D flag on the Preprocessor definitions line to get separate debug and release outputs. If you know you want this, you know how to set it up, so I’m not going to make this long answer even longer in order to explain it.

    You’ll be asked the same set of questions for the Release build. If you want to bother with separate debug and release builds, you’d make any changes here.

    Having done all this, you still have to create the Makefile, and add a make.exe to your PATH. As with the debug vs. release question, going into that level of detail would push this answer off topic.

    As ugly as this looks, it’s still easier than creating custom build tools. Plus, you say you need to port to Unix eventually, so you’re going to need that Makefile anyway.

    Option 3: Cross-Platform Development

    You say you want to port this program to Unix at some point, but that doesn’t mean you must use GCC on Windows now. It is quite possible to write your program so that it builds under Visual C++ on Windows and GCC/Makefiles on *ix systems.

    There are several tools that make this easier. One very popular option is CMake, which is available as an installation time option in newer versions of Visual Studio. There are many alternatives such as SCons and Bakefile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was creating a very simple class as part of a much larger project.
I am creating a very large array. Rather than having this array stored in
I am working on creating a class to handle very large numbers for use
Before I get started on a very large project for creating audiovisual presentations in
We are developing a project in ASP.NET/C# which is a not a very large
I am creating a very large PHP MVC-based site that will have a large
I have a very large script which is creating multiple views. In a number
I'm creating a very simple django upload application but I want to make it
I am creating a very simple forum as my first MVC project. My database
I am creating a very simple project on OpenGL and I'm stuck with rotations.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.