From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
Subject: Re: Help-complete newcomer
Date: Thu, 20 Oct 2005 22:26:53 +0100 [thread overview]
Message-ID: <43580b6e$0$41147$14726298@news.sunsite.dk> (raw)
In-Reply-To: <mailman.12039.1129834775.20277.help-gnu-emacs@gnu.org>
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.
next parent reply other threads:[~2005-10-20 21:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.12039.1129834775.20277.help-gnu-emacs@gnu.org>
2005-10-20 21:26 ` Colin S. Miller [this message]
2005-10-20 21:43 ` Help-complete newcomer Lennart Borgman
2005-10-20 18:57 jtg579
2005-10-20 19:19 ` Edward O'Connor
2005-10-21 9:08 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='43580b6e$0$41147$14726298@news.sunsite.dk' \
--to=no-spam-thank-you@csmiller.demon.co.uk \
/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.
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.