Dr A Olowofoyeku a écrit :
On 16 Mar 00, at 11:55, Mark Taylor wrote:
Subject: Re: Mingw GPC bug - was cannot exec cpp
have you done that ? it is not done by default.
Many thanks.
Done what?
Sorry the following message was not addressed to the list
Mark Taylor a écrit :
I have not been able to find the fix to my "cannot exec cpp" problem, but from looking at the GCC documentation it looks like an incorrectly set GCC_EXEC_PREFIX (or other option that sets the driectories that are search for compiler subprograms). I have not set any of these but maybe GPC or MGPC does?
You need to put into autoexec.bat, or into a separate .bat file which is executed each time you want to compile with mingw2:
SET PATH=C:\MINGW32\BIN;%PATH% set C_INCLUDE_PATH=C:\MINGW32\include set CPLUS_INCLUDE_PATH=C:\MINGW32\include\g++;C:\MINGW32\include set LIBRARY_PATH=C:\MINGW32\lib set GCC_EXEC_PREFIX=C:\MINGW32\lib\gcc-lib\ set BISON_SIMPLE=C:\MINGW32\share\bison.simple set BISON_HAIRY=C:\MINGW32\share\bison.hairy
have you done that ? it is not done by default.