Re: [Dev-C++] CreateProcess balks during compile operation
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alvin T. <al...@th...> - 2004-02-16 17:56:38
|
if you installed MinGW or mSys yourself, you're probably pointing to the
wrong 'make.exe' program. don't use the one in the MinGW dir
('make-mingw.exe' or something like that). try the one in the mSys
directory.
hth,
alvin
Doug MacDonald wrote:
> Running Windows XP SP1, Dev-C++ full install 4.9.8.0. Created a new
> console application project and inserted a "hello, world" print
> statement into the source. I'm getting some kind of subcommand
> dispatching error when I try to build:
>
> ----
> process_begin C:\Proj\playpen\process_begin
> CreateProcess(C:\DJGPP\bin\sh.exe, C:/DJGPP/bin/sh.exe -c "g++.exe -c
> main.cpp -o main.o -I\"C:/Dev-Cpp/include/c++\"
> -I\"C:/Dev-Cpp/include/c++/mingw32\"
> -I\"C:/Dev-Cpp/include/c++/backward\" -I\"C:/Dev-Cpp/include\" ", ...)
> failed.
> -----
> make (e=87) C:\Proj\playpen\make (e=87)
> The parameter is incorrect.
> -----
> C:\Proj\playpen\Makefile.win
> [Build Error] [main.o] Error 87
> -----
>
> I replicated this by going into the source dir with a command prompt and
> typing "make -f Makefile.win". Behaves in just the same way.
>
> It looks to me as though the g++ command isn't getting off the ground.
> Now, it's odd to me that my Dev-C++ directory try contains no sh.exe at
> all - you'll note that it's trying to run one from a DJGPP directory
> that occurs later in the PATH chain. Which, by the way, is:
>
> Path=C:\Dev-Cpp\bin;C:\DJGPP\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Common Files\Adaptec Shared\System
>
> Any clues? Do I need to update or reinstall to get that sh.exe?
>
> Thanks in advance
> Doug
>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
--
Alvin Thompson
Navy: 34
Army: 6
|