On 20 Sep 2002 at 6:48, Frank Heckenbach wrote:
[...]
Did you find the place where it changes back slashes to front slashes? I suppose it's the places where something is set to DIR_SEPARATOR in gpc.c. However, config/i386/xm-mingw32.h says:
#define DIR_SEPARATOR '\' #define DIR_SEPARATOR_2 '/'
I have found the problem. The source for the "Mingw special" edition (gcc-2.95.3-6) contains this in config/i386/xm-mingw32.h:
#ifdef TARGET_W9x /* This kludge must go, once we can get '/' to work on W9x */ #define DIR_SEPARATOR_2 '/' #define DIR_SEPARATOR '\' #else #define DIR_SEPARATOR '/' #define DIR_SEPARATOR_2 '\' #endif
So, someone has opted not to support Win9x automatically. Murphy's Law has been proven once again - this is where I should have looked first, but it is where I looked last :(
Anyway, the solution is simple now, and I have sorted it out. I have also learnt my lesson (I hope!) - I will always look in the config/i386/ headers from now on ...
In any case, for those who are interested, I have put a patched version of the gpc driver on the GPC ftp site: http://www.gnu-pascal.de/contrib/chief/win32/gpc_fix1.zip
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~African_Chief email: African_Chief@bigfoot.com