Does anyone have experience with cross compiling? Building an exe for windows straight from my xcode would be ace gcc is supposed to support it, and I’m sure it can be dodgy as hell. But it could still be quite handy if the project files were setup with the right options if possible…
what do you mean by cross-compiling? just posix systems or also for windows?
i am sure you can tell gcc to create a win32-ABI-compatible exe, but you are lacking the libs. why not just setup some makefiles (maybe via cmake) or project files (msvc, codeblocks, …) and copy the solution + compile on demand? i am sure it would be very convenient but i am also sure you can drink a coffee and smoke a cigarette while copying the source files and hit compile?!
what do you mean by cross-compiling? just posix systems or also for windows?
yea, compiling for linux and windows, straight from my mac. I"d obviously need the libs (maybe even precompiled oF libs for all platforms). I could test the binaries through bootcamp or parallels, but I just don’t want to use codeblocks and actually develop on other platforms (i know debugging won’t work with this method, but I’m neglecting those problems for now).
Still, sounds like a big mess if done from source. On the other hand doing this in conjunction with precomiled oF libs sounds very feasible and awesome.
and voila, windows codeblocks projects just compile in linux, you will have some issues with some incorrect capitalisation, or \ instead of / but it works.