libtwirc icon indicating copy to clipboard operation
libtwirc copied to clipboard

Windows version

Open onelivesleft opened this issue 3 years ago • 2 comments

Would be nice. Currently using this by running code under WSL, and then forwarding results onto a Windows program on host machine via sockets, which is... suboptimal.

onelivesleft avatar Dec 21 '20 18:12 onelivesleft

Hey, thank you for your feedback!

Making this work on Windows would be nice, but I have no idea what that would take because I've yet to successfully compile even a hello world in C under Windows. Therefore I don't even know what parts of libtwirc's code are generally fit to work under Windows.

One part of the code that is definitely not portable is epoll, which probably shouldn't be too hard to replace with whatever alternative Windows has to offer.

If you can assist me with setting up a working C dev pipeline in Windows (preferably that doesn't rely on proprietary and/or huge software) or point me to good resources on the topic, then I'm willing to give it another try. :-)

domsson avatar Dec 21 '20 20:12 domsson

What did you try? The main ones seem to be: Visual Studio, GCC, and Clang. I'd recommend VS 2017 Community edition, which is free, but if you're used to unix maybe GCC would actually be easier for you to use.

onelivesleft avatar Dec 21 '20 21:12 onelivesleft