From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ljung Newsgroups: gmane.emacs.help Subject: Re: Newbie - Can't compile and run C program Date: Sun, 18 Mar 2012 22:39:37 +0100 Message-ID: <87ipi1mvvq.fsf@kvarnholmen.matholka.se> References: <33527190.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332107139 19062 80.91.229.3 (18 Mar 2012 21:45:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2012 21:45:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 18 22:45:38 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S9Nuw-0003EO-6G for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Mar 2012 22:45:34 +0100 Original-Received: from localhost ([::1]:37842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Nuv-0002sa-KV for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Mar 2012 17:45:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Nuq-0002s8-Q0 for help-gnu-emacs@gnu.org; Sun, 18 Mar 2012 17:45:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9NuW-00043D-7p for help-gnu-emacs@gnu.org; Sun, 18 Mar 2012 17:45:28 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9NuW-00042T-1I for help-gnu-emacs@gnu.org; Sun, 18 Mar 2012 17:45:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S9NuR-0002sX-Fy for help-gnu-emacs@gnu.org; Sun, 18 Mar 2012 22:45:03 +0100 Original-Received: from c80-216-222-115.bredband.comhem.se ([80.216.222.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2012 22:45:03 +0100 Original-Received: from lars by c80-216-222-115.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2012 22:45:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c80-216-222-115.bredband.comhem.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:Ls4df8zjsCYz0NFMbEMrq/t6EZk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84045 Archived-At: taariqq 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