You are not logged in.

#1 2010-04-25 01:15:15

uncholowapo
Member
From: US
Registered: 2009-03-29
Posts: 238

Build order or Instructions for MinGW32?

Hi,

I need to make a specific i686-mingw32 cross compiler because the i486 version in the repos will not compile the code. Can the packager or someone tell me how they built the toolchain and any special instructions to get one of my own going?

These PKGBUILD's, if someone is willing to help me, can go in AUR after I test them smile

Offline

#2 2010-04-25 03:18:54

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,357
Website

Re: Build order or Instructions for MinGW32?

Here are my local PKGBUILDs which include instructions at the top of each PKGBUILD:  http://allanmcrae.com/packages/cross-i6 … w32.tar.gz .  They use raw gcc sources, not mingw ones, so may not particularly work...  but you should get an idea of the build order.

Offline

#3 2010-04-28 20:13:10

DcUK
Member
Registered: 2009-04-09
Posts: 10

Re: Build order or Instructions for MinGW32?

The simplest and, in my opinion, the best method for installing a MinGW32 cross-compiler environment is via the mingw-cross-env project at http://mingw-cross-env.nongnu.org/

Simply unpack the tar-ball wherever you want your tool-chain and run make with the appropriate arguments to build the entire environment without any tedious patching or configuration. The list of available libraries and tools that can be added (with dependencies computed and built automatically) is growing with every release. When a new release comes out, just unpack the file over the top and run make again to update all your installed packages to the newest version.

I have to say that it has transformed the whole cross-compilation process for me.

Oh, and I don't have anything to do with the project, I'm just a happy user!

Offline

#4 2010-05-01 11:38:17

uncholowapo
Member
From: US
Registered: 2009-03-29
Posts: 238

Re: Build order or Instructions for MinGW32?

I appreciate both of you guys help smile I am very interested in the mingw-cross-env project. I am building gtk on it as we speak.

Offline

#5 2010-09-02 20:25:06

snoapx
Member
Registered: 2010-09-02
Posts: 1

Re: Build order or Instructions for MinGW32?

Hello everyone
I'm trying to cross-compile a gtk code from Linux to Windows.
I've tried to compile mingw-gtk from AUR but it seems that it doesn't work on arch 64.
I've also tried the script located at http://mingw-cross-env.nongnu.org/, but no success. Does anyone manage to run mingw-cross-env script on Archlinux 64?
Thanks in advance !

Offline

Board footer

Powered by FluxBB