help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c compile


From: Richard G. Riley
Subject: Re: c compile
Date: Fri, 24 Mar 2006 22:48:13 +0100
User-agent: slrn/0.9.8.1 (Linux)

On 2006-03-22, Kevin Rodgers <address@hidden> wrote:
> 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
>

Thanks : perfect. Also found a link to hippie-expand stuff - very useful.

-- 
Debuggers : you know it makes sense.
http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Debug.html#tth_sEc


reply via email to

[Prev in Thread] Current Thread [Next in Thread]