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 8387431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:12:31+00:00 2026-06-09T18:12:31+00:00

I am unsure about compiling C files into executables by using Cygwin under Windows

  • 0

I am unsure about compiling C files into executables by using Cygwin under Windows 7.

Can anyone please tell me how to do this?

I’ve read some tutorials but still don’t get it. I understand that I need a Makefile, but what shall I write into it to have an executable file after the compilation process?

  • 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-09T18:12:33+00:00Added an answer on June 9, 2026 at 6:12 pm

    There are several ways to compile c-files. Makefiles are just one possibility. But as you proposed it… Here are two tutorials for Makefiles:

    1. http://makepp.sourceforge.net/1.19/makepp_tutorial.html
    2. http://mrbook.org/tutorials/make/ (Content from 2012 accessable via waybackmachine)

    But note, that you will also need a compiler (installed under cygwin).

    Another possibility is to use Dev-C++, a IDE (Integrated Developement Environment) for C++. Once installed you can create a project and add your source code, and just compile the project. It also contains a c++ compiler (also supports C), which is named mingw. The makefile needed is automatically generated. So that’s simpler for beginners.

    You can download Dev-Cpp here: http://www.bloodshed.net/devcpp.html

    Note: As you spoke about cygwin I assume you use Windows. Dev++ works only under windows, and you wont need cygwin.

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

Sidebar

Related Questions

Im unsure about this. Would having PHP ( or I guess any template language
I found this code over the internet but am unsure about how to use
I am unsure about the correct definition of transient properties: One can define transient
What does this syntax mean? I'm specifically unsure about the missing base address mov
I'm really unsure about how to handle this. What I think I need is
I am a little unsure about the right forum for this question. It is
Its something I am unsure about rather than a problem.This code i had encountered
Python has complicated namespaces and modules notion, so i unsure about this. Normally python
This is a task I have and I am a little unsure about the
I've just been sent this and am unsure about the last part of this

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.