Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Cross Compiling in Gentoo
Date: Tue, 17 Jan 2012 13:58:38
Message-Id: jf3uc2$alr$1@dough.gmane.org
In Reply to: [gentoo-user] Cross Compiling in Gentoo by Chris Walters
1 On 01/17/2012 08:55 AM, Chris Walters wrote:
2 > Hi,
3 >
4 > I have a question about cross compiling in Gentoo - specifically cross
5 > compiling for W32/W64. I tried their preferred method and didn't like it, so I
6 > downloaded the appropriate Mingw64 build files, set up a cross compile account,
7 > with the appropriate paths, variables, etc. Most packages compile correctly
8 > (though it sometimes takes some code hacking - and yes they do run in Win 7),
9 > but there are some I can't seem to get to build properly - usually the ones
10 > that have make files for MS Visual Studio. I have no interest in purchasing
11 > Visual Studio.
12 >
13 > My question is, does anyone know of any good resources (mailing lists, sites,
14 > etc.) on cross compiling on a GNU/Linux platform for a W32/W64 platform? The
15 > searches I've run have directed me to sites that talk about using MSYS and
16 > Mingw on a W32 platform (I don't have all year to build a single package). I
17 > am looking to build GraphicsMagick, and some helpful tools for W64 (though I'd
18 > accept W32, if that's the only way).
19
20 I'm using mingw-cross-env and it works like a charm. It's for w32 only.
21
22 http://www.nongnu.org/mingw-cross-env
23
24 With it, you can build apps for Windows very easily, including apps
25 using Qt, Gtk, SDL, etc.