Ton van Overbeek, > Some more information about mwm.exe in lesstiif-cygwin-0.93.18.tar.bz2. > The mwm.exe in that package (/usr/X11R6/bin/mwm.exe) needs the > following dll's: > libICE.dll, libSM.dll, libX11.dll, libXext.dll, cygwin1.dll and > KERNEL32.dll. > So obviously it has linked libXm and other needed libraries statically. > Also this mwm.exe has the 100% CPU-time bug when idle.
Hmm... I just rebuilt the LessTif package using --enable-static --disable-shared and installed it. I still get the same problem where mwm runs and doesn't have the 100% CPU-time but, but it still doesn't do anything when I click things (other than make the button flash). I ran cygcheck on this new mwm.exe and got: $ cygcheck mwm.exe Found: C:\cygwin\bin\mwm.exe C:\cygwin\bin\mwm.exe .\libICE.dll C:\cygwin\bin\cygwin1.dll C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\NTDLL.DLL .\libSM.dll .\libX11.dll .\libXext.dll So the libraries are indeed static in the new LessTif that I just built. However, I became curious so I uninstalled the new LessTif (0.93.18-3) and reinstalled the supposed shared library version of LessTif (0.93.18-2). I then ran cygcheck on this old mwm.exe and, lo, got the same results: $ cygcheck mwm.exe Found: .\mwm.exe .\mwm.exe .\libICE.dll C:\cygwin\bin\cygwin1.dll C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\NTDLL.DLL .\libSM.dll .\libX11.dll .\libXext.dll Thus the default settings for building LessTif on Cygwin must be to build static libs only. Therefore the LessTif 0.93.18-2 Cygwin package has static libs. This also means that my mwm.exe problems have nothing to do with shared libs (since I've only been building static libs). One interesting thing to note is that I can get mwm to switch between virtual desktops by moving the mouse pointer to the edge of the screen. The window redraws correctly for the new virtual desktop and I can navigate back to the original desktop. However, I cannot move, resize, etc. the xterm window. Finally, I switched the prefix from /usr to /usr/X11R6. I don't want to release this new package until we can figure out why mwm isn't working for me (as it will probably do the same for others). Harold