I am doing a cross-platform C (not ++) game with both linux (main) and windows (alternate) binaries. Until now I used devcpp to compile in windows, but I have trouble getting some libraries to work right, and I heard it is possible to compile a windows binary from withing Linux. However, I don't know where to get started. The game uses a few libraries (GLEW, GL, SDL, SDL_mixer, SDL_image and Lua 5.1) that would clutter the distribution directory though, so is it possible to make a static binary with that method?
Looks like this is what I need. Can it build static binaries?
kagaminelen
2009-11-09 19:57:14
Yes it can. Ubuntu keeps mingw in their repos too.
Amigable Clark Kant
2009-11-10 09:35:54