[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie - Can't compile and run C program
From: |
Lars Ljung |
Subject: |
Re: Newbie - Can't compile and run C program |
Date: |
Sun, 18 Mar 2012 22:39:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
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