From: kgold@watson.ibm.com (kgold)
Subject: Re: C++-Mode
Date: 7 Jan 2003 16:29:44 GMT [thread overview]
Message-ID: <avev9o$b6i$1@news.btv.ibm.com> (raw)
In-Reply-To: 3e1af127@news.uni-ulm.de
1
The default for emacs using M-x compile is to call make.
While you could change the default, experienced programmers typically
create a makefile.
2
I typically start a shell within emacs and run the program from the
command line.
Alternatively, you could create a "run" target in the makefile,
and call "make run" from emacs.
"Boris H." <nosp@m.de> writes:
> How can I make Emacs separately
> 1. compile the current buffer with g++
> 2. run the generated file?
> in C++-mode?
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
next prev parent reply other threads:[~2003-01-07 16:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 15:23 C++-Mode Boris H.
2003-01-07 16:29 ` kgold [this message]
2003-01-08 10:39 ` C++-Mode Boris H.
2003-01-08 18:18 ` C++-Mode Kevin Rodgers
2003-01-13 8:44 ` C++-Mode Lee Sau Dan
2003-01-13 8:44 ` C++-Mode Lee Sau Dan
2003-01-08 15:17 ` C++-Mode Dave Sumsky
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='avev9o$b6i$1@news.btv.ibm.com' \
--to=kgold@watson.ibm.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).