Last night Squeak woke up running on the cygwin platform,
$ ./squeak.exe ../Squeak3.9b-7032.image 2>squeak.exe.log displayModule 0x497170 null soundModule 0x4970f0 null
(of course it currently has no io, so, who knows? :-)
Linked the vm-display-null and vm-sound-null modules together with vm.a, by tweaking sqUnixMain.c and its makefile. Other vm-display-* and vm-sound-* modules are not so easy to harness, for example vm-display-X11 (see messages below).
Next step is the -dlopen flag, for passing *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module vm-display-X11. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag.
/Klaus
--------------------
/bin/sh /home/kWitzel/platforms/libtool --mode=link gcc -g -O2 -fomit-frame-poin ter -DLSB_FIRST=1 -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -avoid-version -no -undefined -module -rpath /usr/local/lib/squeak/3.9-4 -o vm-display-X11.la sqUni xX11.lo sqUnixMozilla.lo -lGL -lXext -lSM -lICE -L/usr/X11R6/lib -lm -lX11 mkdir .libs rm -fr .libs/vm-display-X11.la .libs/vm-display-X11.* .libs/vm-display-X11.*
*** Warning: This library needs some functionality provided by -lGL. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lXext. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lSM. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lICE. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lX11. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have.
*** Warning: libtool could not satisfy all declared inter-library *** dependencies of module vm-display-X11. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. ar cru .libs/vm-display-X11.a sqUnixX11.lo sqUnixMozilla.lo ranlib .libs/vm-display-X11.a creating vm-display-X11.la (cd .libs && rm -f vm-display-X11.la && ln -s ../vm-display-X11.la vm-display-X1 1.la) : vm-display-X11.la