aMule Forum

English => Compilation problems => Topic started by: Gaznevada on July 02, 2009, 11:13:00 AM

Title: Cross-compilation. Info request
Post by: Gaznevada on July 02, 2009, 11:13:00 AM
Hi all,

I've finally managed to set up a working cross-compiler for MIPS-Irix on a
Cygwin environment. Sort of a bloodbath, really. But funny indeed.

Now I want to cross-compile aMule to avoid the bottleneck of compiling
it on my old O2. Is there anybody out there having any experience on cross
compilation of Amule? Any suggestion/advice/hint is warmly welcomed
(except "Quit now and don't waste your time anymore")

Cheers,

--
Gaznevada

Title: Re: Cross-compilation. Info request
Post by: GonoszTopi on July 02, 2009, 11:39:08 AM
Be prepared that configure is sometimes likely to find native libraries instead of host libraries. For example, when I cross-compile to mingw32 on linux, I have to use the following:
Code: [Select]
../configure \
        --host=mingw32 \
        --with-wx-config=/usr/local/mingw32/bin/wx-config \
        --with-crypto-prefix=/usr/local/mingw32 \
        --without-libpng-config \
        "$@"
Title: Re: Cross-compilation. Info request
Post by: wuischke on July 02, 2009, 11:48:59 AM
You might find some helpful information in my recent wiki article: http://www.amule.org/wiki/index.php/Cross-compilation_for_windows_with_mingw

I've only cross-compiled for Mac, Linux ARMel and Windows from Linux, but the basic steps were always the same. (Only setting up the environment was a different PITA...) I believe it should be identical for cygwin.
Title: Re: Cross-compilation. Info request
Post by: Gaznevada on July 02, 2009, 12:33:57 PM
You might find some helpful information in my recent wiki article: http://www.amule.org/wiki/index.php/Cross-compilation_for_windows_with_mingw

I've only cross-compiled for Mac, Linux ARMel and Windows from Linux, but the basic steps were always the same. (Only setting up the environment was a different PITA...) I believe it should be identical for cygwin.

Thanks you all. This definitely helps.

Cheers,

--
Gaznevada