unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: c compile
Date: Wed, 22 Mar 2006 09:51:09 -0700	[thread overview]
Message-ID: <dvrvb6$245$1@sea.gmane.org> (raw)
In-Reply-To: <0858f3-1oc.ln1@fujitsu.mydomain.com>

Richard G. Riley wrote:
> How to make the compile command compile and link the current file? e.g
> currently in C mode I "M-x" and then "compile" which brings up "make
> -k" : how could I get the "make" or even "gcc -c" to be appended with
> the current file's name (x.c) or base name (x) in the case of make?

See http://www.emacswiki.org/cgi-bin/wiki/CompileCommand

-- 
Kevin Rodgers

  reply	other threads:[~2006-03-22 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22 14:57 c compile Richard G. Riley
2006-03-22 16:51 ` Kevin Rodgers [this message]
     [not found] ` <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org>
2006-03-24 21:48   ` Richard G. Riley

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='dvrvb6$245$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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).