Compile libsocket on windows for arm
I use a cross compiler to compile my code on my windows machine for the arm-none-linux-gnueabi. I would like to know how I can compile libsocket in this case. Cmake does not seem to be happy with my crosscompiler. Also some headers like sys/socket.h are not available. Any ideas?
I'm afraid I can't help you here as I don't have a Windows machine available to test your case :/ The current state is that officially supported systems are only Linux, FreeBSD (although to a lesser extent, unfortunately), and in a limited manner, Solaris.
Unix header files need to be present in any case, so maybe you should try compiling it under Cygwin? (not that I have used it or any experience with it)
Although I can't help you out here, in case you figure out the problems I'm very happy to accept any improvements that lead to libsocket being able to be compiled on Windows.