J. David Bryan wrote:
On 21 Jan 00, at 9:58, Dr A Olowofoyeku wrote:
Your problem is probably due to things that are missing in the gcc Mingw libraries (and there are many of them).
I have tracked my specific problem down to the lack of a "pwd.h" file in Mingw (thanks, Chief!). The trouble is that "_p_pwl2c" in "rts.c" references the "passwd" struct, which is defined in "pwd.h", but "pwd.h" isn't part of Mingw. This is detected by the Pascal "configure", which sets "#undef HAVE_PWD_H" in "rts-config.h" but is not covered by alternate code in "rts.c". The result is a syntax error when compiling.
As I said, the current code (to be released as a snapshot soon) contains such a check. However, no alternate code (just a failure result) -- if there's equivalent functionality on other systems (which I don't know about), I'll have to leave it to you to add it...
Frank
On 23 Jan 00, at 2:17, Frank Heckenbach wrote:
J. David Bryan wrote:
On 21 Jan 00, at 9:58, Dr A Olowofoyeku wrote:
Your problem is probably due to things that are missing in the gcc Mingw libraries (and there are many of them).
I have tracked my specific problem down to the lack of a "pwd.h" file in Mingw (thanks, Chief!). The trouble is that "_p_pwl2c" in "rts.c" references the "passwd" struct, which is defined in "pwd.h", but "pwd.h" isn't part of Mingw. This is detected by the Pascal "configure", which sets "#undef HAVE_PWD_H" in "rts-config.h" but is not covered by alternate code in "rts.c". The result is a syntax error when compiling.
As I said, the current code (to be released as a snapshot soon) contains such a check. However, no alternate code (just a failure result) -- if there's equivalent functionality on other systems (which I don't know about), I'll have to leave it to you to add it...
Can you please let me know what the code is actually supposed to do? Perhaps there is a way to write an implementation for it, which we can include in 'os-hacks.h'.
Best regards, The Chief ----- Dr Abimbola A Olowofoyeku (The African Chief) Email: laa12@keele.ac.uk Author of Chief's Installer Pro v5.21.1 for Win32 http://ourworld.compuserve.com/homepages/African_Chief/chief32.htm