hi i am very new to programming & am trying to learn C++ programming on EMACS on XP as that is the OS i am used to.
when i try compiling a program on emacs on XP it says make file is not recognized as as an internal or external command.
well on searching in the forums i found this link discussing the same " http://www.cplusplus.com/forum/beginner/182/ " there somebody has replied installing mingw the official gcc complier but thats it nothing more on that.
Even after installing the mingw compiler on system i get the same error.
i am not sure what to do after installing the mingw compiler how can i compile a simple program from within EMACS.
Please help i have been trying to figure it out on my self this thing for a week now.
So you mean to say like write a program using EMACS then compile it ins separate window of MSYS..??
Is there a way like i can write a code & compile it in EMACS itself ..??
Bcos i have downloaded & installed MINGW & MSYS both. In MSYS i am able to like compile say "Hello world " & get output.
But again question remains can i how can i use EMACS as IDE to write & compile a program.
In your C:\mingw\bin directory make a copy of mingw-make.exe and name it make.exe. Just make sure that when you are using MSYS that MSYS's bin directory is listed before mingw's in the $PATH, so it uses the correct make program.
The mingw-make program is modified to work on windows without the proper POSIX environment running. It works fine for simple stuff, but if you want to compile anything "normal" you'll have to do as helios suggests and operate from within the MSYS shell.