I wrote a chess engine on my mac and I am trying to run it on my more powerful windows machine. I need to run it with WinBoard, so that involves running things from CMD and hooking up the engine file, which should be a .exe, to the engine. The problem I am having is that it doesn’t appear that my Windows machine has a command line c compiler and it is incredible troublesome to work with IDE’s (I never do) because they require you to go through a wizard to create each of the 25 or so source files and then they make .o files, not .exe’s. My question is, what would be the easiest way to get my .c source files on my mac to run with WinBoard on my pc? Thank you.
Share
Install MinGW (GCC port for Windows) and you’ll get a command-line C compiler. Be advised that you will most likely need to tweak your code, because Windows is poorly POSIX compatible.