NEdit 5.5rc1, cygwin version

Joerg Fischer jf505 at gmx.de
Wed Aug 4 09:27:30 CEST 2004


>>I'd love to try 5.5rc1 but the Cygwin version appears to be built
>>against an old version of Cygwin and won't run with the latest
>>release, v1.5.10 

It is built with 1.5.5 and will surely run with 1.5.10.

>>(missing DLLs are reported). 

You need the older X libs, which is documented. They are in
XFree86-lib-compat-4.3.0-*.tar.bz2

>Maybe Joerg can say why this is necessary.

Starting with Xfree 4.3.0 the Cygwin/X project, that is the folks
porting the Xfree server to Cygwin, decided to use a purely shared
built system. This means using these X libs, it is impossible to
build a static LessTif version (so you can't use any version of
LessTif lower than 93.91, because these versions doesn't even
support a shared built, which was contributed by the Cygwin/X folks
for 93.91, AFAIK, simply because they needed it).

Moreover, using a shared LessTif built, it is impossible to link
LessTif statically into NEdit (the -static switch simply gets
ignored). Hence in order to have a certain LessTif version, which
means  a static built, I needed to use the older (static) X libs
that are still provided for compatibility.

By using the static X libs you lose nothing but gain an NEdit
executable that doesn't spit out LessTif warnings and that has an
open dialog that is really modal (you can't edit when the open
dialog is shown) like it should be. 

Providing a dynamically linked NEdit, as is done for Unix systems,
won't work for Cygwin/X, since the Cygwin system is constantly
changing (there is no guarantee for binary compatibility). So the
fact that Motif is frozen has even an advantage (although only
a single one).

Cheers,
Jörg



More information about the Discuss mailing list