From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs for C compiler Date: Fri, 03 Oct 2003 14:12:15 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F7DD81F.3000702@yahoo.com> References: <20031001153419.06fac011.s0231930@sms.ed.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065213181 28868 80.91.224.253 (3 Oct 2003 20:33:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2003 20:33:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 22:33:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5Wbj-0001vy-00 for ; Fri, 03 Oct 2003 22:32:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5WaG-0005dq-0w for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2003 16:31:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5WZs-0005aT-DA for help-gnu-emacs@gnu.org; Fri, 03 Oct 2003 16:31:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5WZL-0005D1-MD for help-gnu-emacs@gnu.org; Fri, 03 Oct 2003 16:31:02 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5WZD-0005CJ-FW for help-gnu-emacs@gnu.org; Fri, 03 Oct 2003 16:30:23 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5WZA-0000Zk-00 for ; Fri, 03 Oct 2003 22:30:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5WHS-0000O1-00 for ; Fri, 03 Oct 2003 22:12:02 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A5WHS-0006sS-00 for ; Fri, 03 Oct 2003 22:12:02 +0200 Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12981 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12981 [In gmane.emacs.sources] MingTso Chiang wrote: > I am trying to use Emacs for programming C, but I dont know how to > compile it. Could you please tell me how to compile it? The instructions for compiling Emacs are in the INSTALL file. > Another question would be is Emacs like turbo C? This means that there > is a window that could show me the compiling results. This is the > first time for using C compiler for linux/unix. Before I use turbo C. I've never used turbo C, but I doubt that Emacs is similar to it. But you can easily compile your C files in Emacs: type `M-x compile'. The Emacs manual has a whole section on this topic called Compiling and Testing Programs; you can read the manual within Emacs by clicking that entry under the Help menu, or by selecting Emacs from among the manuals listed by `C-h i'. -- Kevin Rodgers