Subject: Re: Mingw GPC bug - was cannot exec cpp
have you done that ? it is not done by default.
Many thanks.
No - had not done any except the first.
Is this documented anywhere or did you figure it out for yourself?
While desperate to avoid C for a new programming project I am going to start soon, I am getting very disheartened with GPC, and am thinking of reverting to GNU C.
Mark.
-- Mark Taylor, Department of Corporate Information & Computing Services, Extension 21145. (0114) 222 1145 http://www.shef.ac.uk/misc/personal/ad1mt
The opinions expressed in this email are mine and not those of the University of Sheffield.
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?
No - had not done any except the first.
Is this documented anywhere or did you figure it out for yourself?
While desperate to avoid C for a new programming project I am going to start soon, I am getting very disheartened with GPC, and am thinking of reverting to GNU C.
There is no doubt that, at this point in time, GCC is more stable under Windows than GPC. But that will change, especially when GPC is merged with the main GCC distribution. Remember you are still working with a pre-release alpha version, and with one of my own early forays into building a Win32 version. I would advise to hang in there!
Best regards, The Chief ----- Dr Abimbola A Olowofoyeku (The African Chief) Email: African_Chief@bigfoot.com Author of Chief's Installer Pro v5.22 for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm
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.