[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs users a dying breed?
From: |
Dvorak Hemialgia |
Subject: |
Re: Emacs users a dying breed? |
Date: |
Wed, 20 Jun 2012 22:23:15 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> Assuming you have the current buffer pgm.c,
> you just type M-x compile RET pgm RET
>
> M-x compile RET will present you a minibuffer with "make -k " in it.
> Typing pgm RET will make it run: make -k pgm
> Since you probably don't have a Makefile in the same directory as pgm.c,
> the default rules will be used, so pgm will be built from pgm.c using
> the C compiler.
>
> If your program doesn't take any stdin input, you can even run it at the
> same time: M-x compile RET pgm && ./pgm RET
Wow, Pascal, this is becoming very useful to me as I learn C. Thank you
for sharing. I'll have to read up on how to do this with Java code,
which would have saved me a lot of time over the last couple semesters.
dkh.
- Re: Emacs users a dying breed?, (continued)
- Re: Emacs users a dying breed?, Jeremiah Dodds, 2012/06/17
- Message not available
- Re: Emacs users a dying breed?, Dan Espen, 2012/06/18
- Re: Emacs users a dying breed?, Henri-Paul Indiogine, 2012/06/18
- Re: Emacs users a dying breed?, notbob, 2012/06/18
- Re: Emacs users a dying breed?, Pascal J. Bourguignon, 2012/06/18
- Re: Emacs users a dying breed?, notbob, 2012/06/18
- Re: Emacs users a dying breed?, Ken Goldman, 2012/06/21
- Message not available
- Re: Emacs users a dying breed?, rusi, 2012/06/21
- Message not available
- Re: Emacs users a dying breed?, notbob, 2012/06/23
- Re: Emacs users a dying breed?, Dan Espen, 2012/06/23
- Re: Emacs users a dying breed?,
Dvorak Hemialgia <=
Re: Emacs users a dying breed?, Laurent Hoeltgen, 2012/06/18
Re: Emacs users a dying breed?, Thien-Thi Nguyen, 2012/06/18
Re: Emacs users a dying breed?, Sivaram Neelakantan, 2012/06/18
Re: Emacs users a dying breed?, Pascal J. Bourguignon, 2012/06/17
Re: Emacs users a dying breed?, Susan Cragin, 2012/06/18