* Help-complete newcomer
@ 2005-10-20 18:57 jtg579
2005-10-20 19:19 ` Edward O'Connor
2005-10-21 9:08 ` Eli Zaretskii
0 siblings, 2 replies; 5+ messages in thread
From: jtg579 @ 2005-10-20 18:57 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 516 bytes --]
I have just installed emacs on Windows ME and am attempting to compile my first program. I did the M-x, got the make-k prompt and put in the file name but get an error message-'Bad Command or Filename'. I am not very familiar with UNIX and makefile, I would just like to do some codework for now. Any help or direction would be greatly appreciated.
Sincerely
Jack G.
[-- Attachment #1.2: Type: text/html, Size: 1280 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Help-complete newcomer
2005-10-20 18:57 Help-complete newcomer jtg579
@ 2005-10-20 19:19 ` Edward O'Connor
2005-10-21 9:08 ` Eli Zaretskii
1 sibling, 0 replies; 5+ messages in thread
From: Edward O'Connor @ 2005-10-20 19:19 UTC (permalink / raw)
jtg wrote:
> I did the M-x, got the make-k prompt and put in the file name but get
> an error message-'Bad Command or Filename'.
It sounds like you don't have Make installed. It doesn't come with
Windows by default, so you'll have to install it yourself.
Ted
--
Edward O'Connor
hober0@gmail.com
Ense petit placidam sub libertate quietem.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Help-complete newcomer
[not found] <mailman.12039.1129834775.20277.help-gnu-emacs@gnu.org>
@ 2005-10-20 21:26 ` Colin S. Miller
2005-10-20 21:43 ` Lennart Borgman
0 siblings, 1 reply; 5+ messages in thread
From: Colin S. Miller @ 2005-10-20 21:26 UTC (permalink / raw)
jtg579@netzero.net wrote:
> I have just installed emacs on Windows ME and am attempting to compile
> my first program. I did the M-x, got the make-k prompt and put in the
> file name but get an error message-'Bad Command or Filename'. I am not
> very familiar with UNIX and makefile, I would just like to do some
> codework for now. Any help or direction would be greatly appreciated.
>
>
> Sincerely
>
>
> Jack G.
>
Emacs is not prompting you for which source file you want to compile.
Instead, it is prompting you for the command to run that does the compile.
On UNIX systems, where Emacs originated, there is a command called 'make'.
This takes a file containing set of instructions (called a 'makefile'), which
tells make how to compile your program's source files.
On MS Windows, Visual Studio has a make program, IIRC its called 'nmake'.
Visual Studio can export a project files as a make file. Cygwin
( http://www.cygwin.com/ ) also provides a make program.
However,
you need not use a makefile should you wish not to.
For example, you can use the compiler directly, such as
"cl source1.c source2.c -o prog.exe".
'cl' is Visual Studio's compiler.
You can also also create a batch file listing the compiler instructions.
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Help-complete newcomer
2005-10-20 21:26 ` Colin S. Miller
@ 2005-10-20 21:43 ` Lennart Borgman
0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman @ 2005-10-20 21:43 UTC (permalink / raw)
Cc: help-gnu-emacs
> On UNIX systems, where Emacs originated, there is a command called
> 'make'.
> This takes a file containing set of instructions (called a
> 'makefile'), which
> tells make how to compile your program's source files.
>
> On MS Windows, Visual Studio has a make program, IIRC its called 'nmake'.
> Visual Studio can export a project files as a make file. Cygwin
> ( http://www.cygwin.com/ ) also provides a make program.
Unfortunately nmake behaves a bit differently than unix style make
programs like GNU Make that comes with Cygwin. If you do not want to
compile a program created with Visual Studio nmake is probably not what
you want.
>
> For example, you can use the compiler directly, such as
> "cl source1.c source2.c -o prog.exe".
> 'cl' is Visual Studio's compiler.
The variable compile-command holds the default command that is shown
when you run the Emacs compile command.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Help-complete newcomer
2005-10-20 18:57 Help-complete newcomer jtg579
2005-10-20 19:19 ` Edward O'Connor
@ 2005-10-21 9:08 ` Eli Zaretskii
1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2005-10-21 9:08 UTC (permalink / raw)
> From: "jtg579@netzero.net" <jtg579@netzero.net>
> Date: Thu, 20 Oct 2005 18:57:40 GMT
>
> I have just installed emacs on Windows ME and am attempting to compile my first program. I did the M-x, got the make-k prompt and put in the file name but get an error message-'Bad Command or Filename'. I am not very familiar with UNIX and makefile, I would just like to do some codework for now. Any help or direction would be greatly appreciated.
Make sure the directory where you have make.exe is included in your
PATH variable.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-21 9:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 18:57 Help-complete newcomer jtg579
2005-10-20 19:19 ` Edward O'Connor
2005-10-21 9:08 ` Eli Zaretskii
[not found] <mailman.12039.1129834775.20277.help-gnu-emacs@gnu.org>
2005-10-20 21:26 ` Colin S. Miller
2005-10-20 21:43 ` Lennart Borgman
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.