Omnimaga
General Discussion => Technology and Development => Computer Programming => Topic started by: Sorunome on February 13, 2013, 10:33:57 pm
-
Hey, i wondered how i could cross-compile with gcc from linux for a windows machine, and how reliable is cross-compiling?
-
Mingw-gcc exists as a linux package precisely to allow you to compile stuff for windows. As for reliability, it should be as reliable as any other sort of compilation.
-
What OS do you use? I use a gentoo offshoot which has a tool to set up the right environment.
You just have to compile it to build for windows and isolate it from the usual gcc(usually by location and name)
-
I use archlinux 64 bit
-
Then the only way I know is to manually compile it. Qwerty probably can help you more.
-
i'm trying mingw right now, archlinux says it is installed but idk how to use it as it isn't in /usr/bin
-
MinGW gets stored in a directory that you set... at least that's how it works on windows :P
You want cross-compiling? USE JAVA!!!
/me runs
-
It is for a competition int 2 weeks and i don't wanne learn a new language in such a short time, sorry :P (and they don't allow php D:)