aMule Forum

English => Multiplatform => Win32 => Topic started by: redhad on June 14, 2006, 04:18:04 PM

Title: howto compile amule for windows under linux
Post 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?
Title: Re: howto compile amule for windows under linux
Post by: wuischke on June 14, 2006, 04:21:40 PM
Hi redhad!

Well, it should be possible using mingw32.
Title: Re: howto compile amule for windows under linux
Post by: redhad on June 14, 2006, 04:24:43 PM
I don't want to compile under windows, because i have a ready to run environment under linux. (gcc, wxgtk....)
Title: Re: howto compile amule for windows under linux
Post by: GonoszTopi on June 14, 2006, 05:09:24 PM
redhad, you may want to read this article: http://www.mingw.org/MinGWiki/index.php/build%20a%20Win32%20x-compiler%20for%20Linux
Title: Re: howto compile amule for windows under linux
Post by: wuischke on June 14, 2006, 05:33:48 PM
There's mingw for Linux as well, at least on my Ubuntu machine there are even precompiled packages for the compiler.
Title: Re: howto compile amule for windows under linux
Post by: DLH on November 14, 2008, 11:01:18 PM
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.