On 13.01.2014 15:38, Ruben Van Boxem wrote: > 2014/1/13 Peter Kümmel <[email protected] <mailto:[email protected]>> > > What's mingw-w64's "state-of-the-art" way of cross compiling on Linux > (Ubuntu)? > > > You do > sudo apt-get install mingw-w64
Because this didn't work on a LTS Ubuntu 12.4 used by travis-ci.org I had to find a better solution and ended up at your MinGW-w64-build-scripts. > > which should pull in the compiler and binutils. (see package page here: > http://packages.ubuntu.com/saucy/mingw-w64) > Then you call the prefixed tools: > i686-w64-mingw32-* > x86_64-w64-mingw32-* > > I would suggest using a distribution which has a large amount of MinGW-w64 > 3rd party libraries so you can benefit from > those extensive packaging efforts and not have to build everything yourself. > Examples are (in alphabetical order): Arch, Fedora, and OpenSuse. For Arch, > the toolchain is in the binary repos, and a > ton of libraries are available in the AUR. > > I found Ruben's cross project on github, is it a follow-up of > MinGW-w64-build-scripts? > > > Yes, you are correct. I'm reinventing the wheel I reinvented. I'm currently > hoping to wrap that up as is, because there > are a few limitations of the current design, which push me in the direction > of a makepkg-style build which is not really > what I was going for. Anyways, I'll be able to build a bunch of toolchains > with the strike of a button again, and better > than before! Sound's like it is worth to have a look at it. > > If you can't wait, the current state should be able to build you GCC 4.6.*, > 4.7.*, and 4.8.* (all with posix threads in > libgcc), but I'm still missing some make patches (and perhaps a GCC 4.8 patch > too) to make things work flawlessly. > Just run: > ./cross_build.sh <GCC version> > > It will determine if you have a bunch of tools installed (including python, > which will be needed for LLVM/Clang unless > I'm so not-up-to-date this requirement is no longer current), and then start > downloading and building first > cross-compilers, then the native ones. It builds dw2, seh, and sjlj variants > where applicable. > > There's still some rough edges I need to work out though, so don't expect no > problems ;-) I'm planning to add a Cygwin > cross-compiler to the list once I figure out how that is supposed to work. > > Could Win-builds be used without learning a new build system? > > > I would say yes, it's just a script you need to call. > > Is Mingw-builds still Windows only? > > > I believe so. > > Currently it looks like Mingw-builds is the most "official" build for > Windows, > or I'm wrong? There's no 4.8.2 release, is Mingw-builds still active? > > > They merged with the MinGW-w64 project itself and provide official builds: > http://mingw-w64.sourceforge.net/download.php#mingw-builds Yes, I also noticed this after sending out the first mail. Thanks, Peter > > Note the installer is currently broken IIRC, but you can find the new > toolchain zips here: > http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/ > http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/ > > Have fun! > > Ruben > > > Thanks, > Peter > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
