aMule Forum
English => Multiplatform => Win32 => Topic started by: redhad on June 14, 2006, 04:18:04 PM
-
Hello to everybody,
I'm interesting in compiling amule for windows under linux (if it is possible),
Is there a way to do so?
-
Hi redhad!
Well, it should be possible using mingw32.
-
I don't want to compile under windows, because i have a ready to run environment under linux. (gcc, wxgtk....)
-
redhad, you may want to read this article: http://www.mingw.org/MinGWiki/index.php/build%20a%20Win32%20x-compiler%20for%20Linux
-
There's mingw for Linux as well, at least on my Ubuntu machine there are even precompiled packages for the compiler.
-
If anybody's thinking about trying the method described in this updated howto http://mingw.org/wiki/LinuxCrossMinGW (http://mingw.org/wiki/LinuxCrossMinGW) beware that the download section of MinGW project page @ sourceforge does not link to the required source code of GCC, only binaries. To get current gcc -3.x.x source tarballs manually before you execute the script you'll have to go directly to a mirror (e.g. http://heanet.dl.sourceforge.net/sourceforge/mingw/ (http://heanet.dl.sourceforge.net/sourceforge/mingw/)). You may as well get current w32api & mingwrt sources while you're there.
Important update
In MinGW32 interactive build script, the default choice (1) of packages to be built downloads a "broken" tarball of binutils. Use this one instead: binutils-2.17.50-20060824-1-src.tar.gz . I had to spend a few hours drilling through mailing lists to figure out what the problem was, but the build finally completed.