unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* java and M-x compile
@ 2005-09-30  9:37 LENNART BORGMAN
  2005-09-30 11:28 ` Peter Dyballa
       [not found] ` <mailman.9226.1128080585.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: LENNART BORGMAN @ 2005-09-30  9:37 UTC (permalink / raw)


By default M-x compile RET runs "make -k". The emacs manual says that this should be good for most simple programs. It does not seem to be very good for a simple java program. 

At least not for me, using GNU Make 3.80 on W2k. Is there something I am missing? (Of course I can still compile java in Emacs, but could make -k work by default, or does it need a makefile?)

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <mailman.9218.1128074423.20277.help-gnu-emacs@gnu.org>]
* Re: java and M-x compile
@ 2005-09-30 22:32 Nick Roberts
  0 siblings, 0 replies; 10+ messages in thread
From: Nick Roberts @ 2005-09-30 22:32 UTC (permalink / raw)



> > It might mean that make typically comes with standard defaults, so
> > e.g., knows to run a C compiler on .c files.
> >

> Even when you know how to enter a train: how will you be able to arrive 
> at your target destination when you neither know it nor how many times 
> and where you have to change into which other trains?

> A makefile is needed!

I don't know about trains but on GNU/Linux or Unix if you type:

make myprog

and you have an executable called myprog.c in that directory, make will
find and compile it:

nickrob/34 make myprog
cc     myprog.c   -o myprog
nickrob/35

Nick

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-10-02 11:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30  9:37 java and M-x compile LENNART BORGMAN
2005-09-30 11:28 ` Peter Dyballa
2005-09-30 11:48   ` Lennart Borgman
     [not found] ` <mailman.9226.1128080585.20277.help-gnu-emacs@gnu.org>
2005-10-02 11:11   ` Lee Sau Dan
     [not found] <mailman.9218.1128074423.20277.help-gnu-emacs@gnu.org>
2005-09-30 13:07 ` kgold
2005-09-30 15:21   ` Peter Dyballa
2005-10-01 13:10 ` isuy
2005-10-01 13:14   ` isuy
2005-10-01 14:46     ` Lennart Borgman
  -- strict thread matches above, loose matches on Subject: below --
2005-09-30 22:32 Nick Roberts

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).