Mail Archives: djgpp/1996/08/07/01:39:36
On Wed, 7 Aug 1996, Cagud . Vincent Joseph D. wrote:
> I suspect that these libraries are only v1-compatible. Is there
> an updated version of the libs and if so, can you tell me where?
That's correct, they was not updated AFAIK since v1.x. But I don't
believe you should need a lot of work to make them compile with v2.
Changing the paths of directories is not a big deal after all. (And btw,
I think it's *wrong* to hard-wire paths into Makefiles, because GCC can
find those directories itself: DJGPP.ENV tells it how.) And the issue
conflicting declarations should be fairly easy to resolve: just add -Wall
to the GCC command lines and it will tell you most of the story.
Usually, just removing the declarations from the Xlib source files for
which there is already a declaration on <unistd.h> should be enough.
The upside of making Xlib compile with DJGPP v2 is of course that
everybody can benefit from it, and thus has a great value in itself. If
you do succeed in this, please consider uploading the converted library
to one of the sites mentioned in the DJGPP FAQ list (section 22.6).
> Or do I have to re-install version 1 again to compile that GNU Emacs
> thingie...
I don't recommend this ``solution''. DJGPP v1.x is no longer actively
supported, so if you encounter a problem for which there is no known
solution or work-around, you are on your own. Also, latest versions of
Emacs work much better with v2 than with v1. Just building Emacs with v2
with no X is IMHO better than building it with v1 and X.
Note that AFAIK nobody has yet tried to build Emacs with XWindows support
under DJGPP v2. The support for this exists, but since Xlib wasn't yet
ported to v2, it was never built this way. If you have any problems
building Emacs with X under DJGPP v2 (assuming you'll decide to convert
Xlib to v2), please let me know, and I'll try to help.
- Raw text -