(Bah, berlios or something is taking forever to send the mail back to me, although gmane already has it. But the nntp interface/slrn don't handle attachments well, so I'll just copy-paste quote.)
> The two problems with compiling Ion are > (1) Windows does not have getloadavg, and with the way > libextl_mkexports works, the only quick way to avoid this problem is > to obliterate all references to getloadavg. This means deleting (not > commenting out!) a couple functions and the whole file > utils/ion-statusd/statusd_load.lua. There's no real need to alter statusd_load, but cfg_statusbar should perhaps be altered to not include the load meter. It gets a bit too complicated to to properly. The altogether too hacky loadavg export (some more general Lua lib should really provide all this!) can in any case be easily #ifdef'd out. (DEFINES += -DCF_NO_GETLOADAVG) > (2) Cygwin's gcc appends ".exe" to executables, which means Makefiles > must be modified accordingly. That's just utterly and totally brain-dead. If I say '-o ion3', then that's where the output should go, even if the rest of the system can't handle the lack of a lame extension. I wonder if they have a modified variant of install-sh or so, that can handle the way they've fucked up gcc? The latest release actually introduced the INSTALLBIN variable to take care of passing the -s(trip) flag to install-sh nicely based on configuration. Maybe gmake provides some macros that could be used to redefine this to append the .exe idiocy to the source file. -- Tuomo
