If I had setup the ZLIB_W32 variable for the zlib files on my main system (it's currently volatile), I would be using this: `scons XGCC_W32_PREFIX=i686-w64-mingw32- PREFIX="/home/jason/nsis_install" install`.
I also have a virtual machine setup with the old i586 mingw32 triplet toolchain installed, along with wxWidgets (dev package from the ubuntu repository) and the zlib windows files, and apart from skipping the System plugin because of the Call.sx problem, I can compile the source using "scons". Also, apart from the cross-platform utilities (genpat.exe, librarylocal.exe, NSIS.exe, technically not makensisw.exe as it's in the wrong directory on linux), help file, and makensis.exe, it will compile the installer too.
Now that's an idea, I could add a TARGET_WINDOWS option for the posix build so that everything is compiled as windows targets, and only makensis is compiled for both windows and linux so that dist-installer works.
I did a quick search for chm compilers on linux and found this:
http://manpages.ubuntu.com/manpages/...d-2.6.2.1.html. It's provided with the "fp-utils-2.x.x" package under ubuntu.
I'll start experimenting with this to see if it's fesable to target windows from a posix build. The only snag I can see is with the .zip file generation, as it's possible the posix built makensis can make it into the windows targeted .zip file (where it shouldn't be included).