From: Raffaello D. Di N. <fas...@gm...> - 2011-01-21 19:21:43
|
2011/1/21 Zeno Davatz <zd...@gm...>: > Will try to follow the steps. I am on Gentoo-Linux. Gentoo Linux has built-in support for cross-compiling, named crossdev, which lets you emerge ebuilds (for example, zlib) for another CHOST, such as i586-mingw32, by providing you an alternate emerge command (i.e. emerge-i586-mingw32) which will keep all the cross-compiled tree into its own hierarchy in /usr/${CHOST}. With that, you can use the Portage system directly instead of mingw-get. As long as the mingw32 target is supported by upstream for a package, an ebuild should build just fine by emerging it with the emerge-${CHOST}. See [1] for more details about cross-mingw32, or [2] for more info on setting up a generic crossdev environment. The official Gentoo Handbook also has information about crossdev (obviously) at [3], but it’s clearly aimed at embedded cross-building; it still offers plenty of useful advices though. [1] http://en.gentoo-wiki.com/wiki/Mingw [2] http://en.gentoo-wiki.com/wiki/Crossdev [3] http://www.gentoo.org/proj/en/base/embedded/handbook/ PS: it looks like my earlier submission of this message was rejected by SF, although I’m sure I was regularly subscribed; in any case, I had to subscribe again. If you see two copies of this message, that’s why. |