OK, this is not what I had in mind, I didn't install Cygwin on this Windows machine to compile programs for Windows. So, let me be direct as to my intentions here, so that not only can someone point me in the right dirrection to get something that might run on Linux but maybe I can get some tips as well. I'm wanting to get a bot running on my Linux router, that being said this seems to be plenty small enough, but I need to make sure it doesn't write anything to prevent excessive flash wear, I need all configuration done before I send it to the router and again I need to make sure it won't be writing anything.
So, here are the questions I need answered, if someone would be so kind....
Does this seem doable?
How do I get this thing to compile as a Linux binary on Cygwin?
Is there anything I can do to compile the modules into the binary?
First off, most home-end routers are either arm- or mipsel-based. As such, you'll need a suitable cross-compiler and build-environment matching your router.
Regarding configurations and flash-wear, you'll have to turn off logging (not too hard, simply comment out any logfile commands in your config), and make sure you don't load any custom scripts that might make use of the filesystem. You should also make certain that you do not specify any channel's-file either.
Unfortunately, you'll still have to live with the user file being written to the file system every now and then (at least once an hour), this is pretty much unavoidable without editing the source and having to redo your whole user list whenever you restart your router.
Modules can be compiled into the eggdrop binary, using the "static" make target (this is the default targets on builds not supporting dynamically linked libraries).