* c compile @ 2006-03-22 14:57 Richard G. Riley 2006-03-22 16:51 ` Kevin Rodgers [not found] ` <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 3+ messages in thread From: Richard G. Riley @ 2006-03-22 14:57 UTC (permalink / raw) 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? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c compile 2006-03-22 14:57 c compile Richard G. Riley @ 2006-03-22 16:51 ` Kevin Rodgers [not found] ` <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 3+ messages in thread From: Kevin Rodgers @ 2006-03-22 16:51 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org>]
* Re: c compile [not found] ` <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org> @ 2006-03-24 21:48 ` Richard G. Riley 0 siblings, 0 replies; 3+ messages in thread From: Richard G. Riley @ 2006-03-24 21:48 UTC (permalink / raw) On 2006-03-22, Kevin Rodgers <ihs_4664@yahoo.com> 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-24 21:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-03-22 14:57 c compile Richard G. Riley 2006-03-22 16:51 ` Kevin Rodgers [not found] ` <mailman.33.1143046340.14011.help-gnu-emacs@gnu.org> 2006-03-24 21:48 ` Richard G. Riley
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.