Re: [Dev-C++] start make from other editor
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luigi S. <gi...@li...> - 2003-03-08 04:19:43
|
On Fri, Mar 07, 2003 at 01:55:13PM +0100, J?rg Krein wrote: > Hello, > [..] > Though I like the Dev-C++ IDE, I would prefer to work with the > editor I'm used to (MED). > Unfortunately trying to invoke make out of my editor gives me an error: > [..] > Seems like make tries to call the preprocessor, compiler.. but can't start > another programm/process? > I can see batch files in my TEMP directory created by make. > Calling make out of the comand line works. > What goes wrong here? > > Regards, > > Joerg Krein Well it's hard to tell, especially when one does not use the "MED" editor. Anyway, I'll attempt to say something hopefully correct :-) Sometime ago, I've successfully used Make, from within another editor, on Windows98 (the editor was ConText); one thing I noticed was that I defined the external command invoking Make, without giving the path of the command, but using only its name. I could have used the path as well, but I discovered that since the compiler (MinGW 2.95) was likely to be run by Make, and it is made of different modules (allow me to pretend things to be as simple as this: preprocessor and compiler), if I had not included in the path the directory where the compiler and the preprocessor lived, compilation could not be carried out. Let me make it a little clearer. ConText may be started from: - Windows by clicking on its icon - Dos window by giving its name on the command line When I used the second option, ConText seemed to inherit the "path" I had defined (which on Win98 has the scope of the Dos window one works in) at the time the editor was launched. So as I used both Dev-C++ and BC++, I defined the path to none of them in my "autoexec.bat", but rather appended the needed directory to the path prior of launching the editor. Using two Dos windows, with different paths and two instances of the editor (one from each Dos window), I could have two different compiler running at the same time. Of course, this is the piece which could be of help to you, when I omitted to add the directory of any compiler to the path prior to starting ConText, I received an error message when attempting to compile from within the editor (can't remember how it spelled). So, I would try adding the directory with MinGW compiler (I mean the one where binaries are located) to your "autoexec.bat" and then (... after rebooting the machine) attempt to run Make from your editor. Hope my English is clear enough. -- >> gisan >> Your true value depends entirely on what you are compared with. |