Re: [Dev-C++] CreateProcess balks during compile operation
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Doug M. <dou...@al...> - 2004-02-17 19:24:46
|
Alvin: Thanks for the suggestion. I have added the gcc binary and lib
directory paths to the tools->compiler options->directories->binaries
list as well as the gcc library path to the tools->compiler
options->directories->libraries list. Didn't get rid of the problem
though... By now you'll have seen my other thread. I got down another
layer last night and g++.exe is exiting with "not enough memory"
(ENOMEM). I'm still seeing this after the changes above.
One thing about all this I don't understand is why dev-c++ doesn't have
its own sh.exe for dispatching make commands. Do you know the reason
for this? If I didn't have \DJGPP\bin in my PATH, what would it do?
Doug
> yup, that might be it. under Tools-->Compiler
> Options-->Directories-->Binaries make sure these are first in the
> list: c:\Dev-cpp\bin c:\Dev-cpp\lib\gcc-lib\mingw32\3.2
>
> (this assumes 4.9.8.7)
>
> also, under Tools-->Compiler-->Programs:
>
> gcc: gcc.exe g++: g++.exe make: make.exe gdb: gdb.exe windres:
> windres.exe dllwrap: dllwrap.exe gprof: gprof.exe
>
> hth, alvin
>
>
> Doug MacDonald wrote:
>
>>> Alvin Thompson wrote:
>>
>>> 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
>>
>> Umm, not sure what mSys is.
>>
>> What I did was to download and install the full dev-c++ IDE, which
>> includes a mingw distribution of g++ and friends. So it should be
>> completely generic.
>>
>> The only guess I can make is that there's some settings state left
>> over from when I was using the subset version of dev-c++, which has
>> the class browser but no compilation platform. ( I first tried to
>> use the subset dev-c++ with the DJGPP distribution of g++ etc.,
>> which the app I am working on has as its official compilaton
>> platform. I never got it to work either: it was missing a couple
>> of utilities that dev-c++ needs, windres and dllwrap. )
>>
>> I think there was some email a week or two back about finding and
>> nuking one's dev-c++ settings. I may go and have a look for it.
>>
>> Doug
>
|