Windows
From Tuxisalive
Contents |
[edit] Daemon
(This topic started as a discussion in this thread, in french.)
[edit] Dependencies
You need to install libusb-win32. After that, you can plug the dongle and use tuxdroid.inf when windows request the driver.
[edit] Compiling
[edit] Cygwin
Ulhume finally got it working with the tuxdroid.inf driver and the patch applied at r629 in the daemon trunk. Nice!
[edit] Mingw
There are many things that we're using in the daemon and doesn't seem to be supported by MinGW:
Sockets are not the same, see here for details. Doesn't imply too much changes though.uid_t, gid_t are not supported, handling of privileges should be dropped. Same for setsid and all locking stuff. I have problems with fcntl (implicit) and F_DUPFD (not found). SIGUSR2 is not found neither. fork() is implicit too, it seems daemonizing shouldn't be done at all. sleep() and usleep() not defined.
And that goes on and on. Not worth playing further with this, I think a dependency on cygwin's dll is just fine :-).

