Mail Archives: djgpp/1998/07/08/01:45:35
John Stoneham (jot AT electrotex DOT com) wrote:
: >> I've also had some problems with patch. I dl'ed the
: >> Platform SDK from microsoft, copied the include files
: >> to c:\rsxntdj\include\mssdk, and ran patch < patch.dif.
: >> This just scrolled an error message to the effect of
: >> "Path file not found. Skip? [n]" across my screen for
: >> quite some time until I got impatient and hit ^C.
: >
: >Usually, you need to invoke `patch' with -p0 switch. If that doesn't
: >work either, you will need to figure out from which directory to
: >invoke `patch' to make it work, or reply to those prompts with the
: >correct file names.
: >
: >(And impatience is not a good advisor when setting up software, at
: >least in my experience.)
:
: The problem here is that the MSSDK include files have changed and are now
: incompatible with the dif file. It is possible to go through the dif file
: (it's text) and find the changes yourself, though I wouldn't wish that on
: anyone.
I guess I have to admit I did that myself. The patches being made, apart
from the missing bh.h (?) which no longer exist in the new SDK are
mostly moving out things like WINAPI or CALLBACK to outside the bracket
of a function declaration (this is documented in the help file), and
giving names to several unnamed union/struct within some header files.
I found that most of the patches are done correctly despite the
complaints given by patch, and the rest have to be tidied up yourself.
It's a complete mess, but I suggest just to do minimal modifications,
start compiling, and start fixing errors that came up. It's just not
worthwhile to do all modifications yourself.
I believe there is a RSXNT14 or something (not DJGPP version) that
actually support the January'98 version of the SDK, and might just have
the new set of patch files. Can anyone confirm this?
- Raw text -