# Unable to compile with GNU Emacs

I'm trying to use GNU Emacs to write small programs. I use the compile command make -k but i always get the message

make -k
'make' is not recognized as an internal or external command,
operable program or batch file.

I've tried installing MinGW and modifying the path of my environment variables and a lot of other things but it does not work.

-
Since you talk about MinGW I assume you are on MS windows. Its not easy to compile emacs on windows(atleast for a beginner). Its better to use precomipiled binaries. you can get it here. go to the end of the page to get latest version –  kindahero Apr 13 '12 at 5:33
After you change the environment variable PATH to include the 'c:\path\to\mingw\bin' which includes the 'make' program, restart emacs and give it another go. Also. You could evaluate `(setenv "PATH" (concat "c:\path\to\mingw\bin;" (getenv "PATH")))' from the scratch to remove the need to restart emacs. If this comment solves your problem I will turn it into an answer. –  kjfletch Apr 13 '12 at 6:45