From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: compile/run a code from emacs Date: 20 Jul 2005 14:13:39 +0530 Organization: X-Organization Message-ID: <86hdep6f5w.fsf@riemann.mri.ernet.in> References: <42daa964_1@news.iprimus.com.au> <86ek9xw6az.fsf@unicorn.campus.hri> <42dbf648_1@news.iprimus.com.au> <86mzoj5qlt.fsf@unicorn.campus.hri> <42dd5c84$1_1@news.iprimus.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121849392 15573 80.91.229.2 (20 Jul 2005 08:49:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2005 08:49:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 20 10:49:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DvAGC-0001yL-AB for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jul 2005 10:49:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvAID-00045Q-Qp for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jul 2005 04:51:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 18 Original-NNTP-Posting-Host: 202.41.87.100 Original-X-Trace: news.sunsite.dk DXC=FAg?H@`hBN]l7]YX4k[XF2UT List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28024 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28024 At 2005-07-20T06:14:55-07:00, Baloff wrote: > ok, it works, I put the commented code in my source file and hit f5, > it asked to save main.cpp and it then > > opened another buffer window and compiled it, but did not run the program. > my line in the commented section is > *compile-command: "make && ./proj1" Perhaps the `make' command finished with a nonzero exit status? In any case, your message indicates that your use of file variables is correct. Raghavendra. -- N. Raghavendra | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details.