unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lars Ljung <lars@matholka.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Newbie - Can't compile and run C program
Date: Sun, 18 Mar 2012 22:39:37 +0100	[thread overview]
Message-ID: <87ipi1mvvq.fsf@kvarnholmen.matholka.se> (raw)
In-Reply-To: 33527190.post@talk.nabble.com

taariqq <taariqq@gmail.com> writes:
> I've just downloaded emacs 23.4 for my winxp machine. To go into C mode by
> typing M-x c-mode. I type the typical hello world program. I type M-x
> compile to compile the program ... and this is where I am stuck. It is not
> generating a.out. Either it gives me an error if I use make -k, or if I

What C compiler have you installed?

MinGW (http://www.mingw.org/) probably works well together with Emacs
and M-x compile. It includes GCC, GNU make, and a bunch of other useful
stuff.

-- 
Lars Ljung




  parent reply	other threads:[~2012-03-18 21:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18 18:16 Newbie - Can't compile and run C program taariqq
2012-03-18 20:21 ` Peter Dyballa
2012-03-18 21:11   ` taariqq
2012-03-18 21:57     ` Peter Dyballa
2012-03-18 21:58     ` Christopher Schmidt
2012-03-18 22:05       ` taariqq
2012-03-18 22:32       ` taariqq
2012-03-18 21:39 ` Lars Ljung [this message]
2012-03-18 22:08 ` taariqq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipi1mvvq.fsf@kvarnholmen.matholka.se \
    --to=lars@matholka.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).