From: "Daniel" <hanmoai@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Management C Project Files with Emacs?
Date: 28 Mar 2007 17:00:19 -0700 [thread overview]
Message-ID: <1175126419.543700.232830@p77g2000hsh.googlegroups.com> (raw)
In-Reply-To: <460af700$0$90268$14726298@news.sunsite.dk>
On Mar 28, 4:15 pm, "Colin S. Miller" <no-spam-
thank-...@csmiller.demon.co.uk> wrote:
> Daniel wrote:
> > Hi,
>
> > If I want to compile a large project like Linux Kernel, I don't know
> > how I can use emacs.
>
> > 2. Whenever opening a file, it seems that emacs change current
> > directory. So, I cannot simply type "M-x compile RET make". Is there
> > anyway to have emacs to stick on specific directory?
>
> These easiest way to do this is to change the compile line to
>
> cd /path/to/src/ && make -f Makefile ALL
>
> HTH,
> Colin S. Miller
>
> --
> Replace the obvious in my email address with the first three letters of the hostname to reply.
Hi Colin,
That is good idea.
Moreover, I also find I could make it this:
M-x make RET make -C /usr/src/linux RET
Above make option indicates the root directory for the make no matter
where I am in.
Thank you guys, it was helpful to me.
next prev parent reply other threads:[~2007-03-29 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-28 19:15 Management C Project Files with Emacs? Daniel
2007-03-28 20:28 ` Peter Dyballa
[not found] ` <mailman.1551.1175113870.7795.help-gnu-emacs@gnu.org>
2007-03-28 20:59 ` Daniel
2007-03-28 21:50 ` Peter Dyballa
[not found] ` <mailman.1554.1175118763.7795.help-gnu-emacs@gnu.org>
2007-03-28 23:58 ` Daniel
2007-03-28 23:15 ` Colin S. Miller
2007-03-29 0:00 ` Daniel [this message]
2007-03-29 0:20 ` Hadron
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=1175126419.543700.232830@p77g2000hsh.googlegroups.com \
--to=hanmoai@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).