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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:28:40+00:00 2026-05-18T23:28:40+00:00

I have a little bit of C programming experience from school, but it was

  • 0

I have a little bit of C programming experience from school, but it was all Unix. I want to compile some C with Emacs, using Emacs as a second IDE.

What is the easiest way to go about doing this? I downloaded Cygwin with no successful compile of a helloWorld.c in Emacs. Even opening the cygwin command prompt (shell or whatever its called), it doesn’t recognize gcc as a command.

Error
‘make’ is not recognized as an internal or external command, operable program or batch file.

I need a compiler that works on Windows, is free (or comes with visual studio), and can be used with Emacs. What to type into Emacs after the M-x compile command would be nice to know too. I looked at MinGW, but downloading it is a chore.

I hope the question makes sense. I often get lost in the open source world.

Environment
Windows XP, Visual Studio 2010, Emacs 23.2.1, Windows 7.1 SDK installed, Cygwin

  • 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-05-18T23:28:41+00:00Added an answer on May 18, 2026 at 11:28 pm

    I use Visual Studio as a compiler with emacs as an editor.

    Just install Visual Studio C++ 2010 Express Edition.
    Then what I do is write an nmake Makefile and invoke nmake from
    the Visual Studio Command Prompt (accessible from the Programs menu).
    This works fine for smaller projects.

    See http://msdn.microsoft.com/en-us/library/f35ctcxw.aspx
    for more details.

    For larger projects you can create a solution in Visual Studio and
    just use emacs as an editor. You can also invoke msbuild from the
    command prompt to build the solution.

    Also, the visual studio command prompt just invokes vcvars.bat (or something like it)
    to set up the necessary environment. I guess you might be able to modify the emacs shell to point to an instance of cmd that has run this bat file on startup?

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

Sidebar

Related Questions

I've been using python for years, but I have little experience with python web
I have some experience with socket programming using the Berkeley socket API in C.
I have this little bit of code: using System; using System.Web.Mvc; public class SecureFilter
Where I work we have a little bit of a dilemma... I work on
I have a friend that has a little bit of a holiday coming up
I have little knowledge of Flash but for a little Flash game I have
I need MatLab for 2D and 3D modeling. I have little experience in MatLab.
I have a little program that I want to make open automatically when my
i have a input tag which is non editable, but some times i need
hello everyone I am newto programming and I am just a little bit confused.

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.