[Mingw-w64-public] Win-builds 1.3.0 - stable release
Hi, Here is the 1.3.0 release of the win-builds.org project. As a stable relase, only security fixes and severe bug fixes will cause updates. This project creates a system to build and distribute for Windows from almost any system: *native* Windows, MSYS*, Cygwin and Linux. Everything is done through a portable package manager for easy installation, maintenance and update. Between the 1.2 and 1.3 release, the following changes have been done: - checked the 64b compilers - GCC 4.8.2, mingw-w64 3.1.0, updated most packages - added dbus, winpthreads, x264 - installer scripts for native windows and msys/cygwin - emulation of symlinks on windows - improved documentation Thanks to everyone who took part in this development cycle with patches, ideas and bug reports. Website: http://win-builds.org Bug Tracker: http://win-builds.org/bugs/ Roadmap (partial): http://win-builds.org/bugs/index.php?do=roadmapproject=1 -- Adrien Nader -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Cross compiling the compiler on Linux
What's mingw-w64's state-of-the-art way of cross compiling on Linux (Ubuntu)? I found Ruben's cross project on github, is it a follow-up of MinGW-w64-build-scripts? Could Win-builds be used without learning a new build system? Is Mingw-builds still Windows only? 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? 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Cross compiling the compiler on Linux
On 13.01.2014 15:03, Peter Kümmel wrote: What's mingw-w64's state-of-the-art way of cross compiling on Linux (Ubuntu)? I found Ruben's cross project on github, is it a follow-up of MinGW-w64-build-scripts? Could Win-builds be used without learning a new build system? Is Mingw-builds still Windows only? 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? Ah, seems new releases don't go to mingwbuilds any more. 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Cross compiling the compiler on Linux
2014/1/13 Peter Kümmel syntheti...@gmx.net What's mingw-w64's state-of-the-art way of cross compiling on Linux (Ubuntu)? You do sudo apt-get install mingw-w64 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! 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 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net 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=119420431iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-builds 1.3.0 - stable release
Great!. I installed the last version from using programs ? in win-builds-bundle-1.3-rc1.zip and using msys-install.sh and win-builds-switch.sh. Can I get the new version by running the existing msys-install.sh I have and will yypkg know what to do ? Regards Adrien Nader adr...@notk.org wrote: Hi, Here is the 1.3.0 release of the win-builds.org project. As a stable relase, only security fixes and severe bug fixes will cause updates. This project creates a system to build and distribute for Windows from almost any system: *native* Windows, MSYS*, Cygwin and Linux. Everything is done through a portable package manager for easy installation, maintenance and update. Between the 1.2 and 1.3 release, the following changes have been done: - checked the 64b compilers - GCC 4.8.2, mingw-w64 3.1.0, updated most packages - added dbus, winpthreads, x264 - installer scripts for native windows and msys/cygwin - emulation of symlinks on windows - improved documentation Thanks to everyone who took part in this development cycle with patches, ideas and bug reports. Website: http://win-builds.org Bug Tracker: http://win-builds.org/bugs/ Roadmap (partial): http://win-builds.org/bugs/index.php?do=roadmapproject=1 -- Adrien Nader -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Cross compiling the compiler on Linux
On Mon, Jan 13, 2014, Peter Kümmel wrote: What's mingw-w64's state-of-the-art way of cross compiling on Linux (Ubuntu)? As Ruben pointed out, you can use the binaries from your distribution. In the case of Ubuntu, you inherit the ones from Debian most probably. However that means it's going to lag quite a lot, especially if there is no corresponding maintainer on ubuntu's side. Could Win-builds be used without learning a new build system? You will obviously have some learning to do but it's very small and straightforward. Build scripts are raw shell scripts which run make install DESTDIR=/tmp/foo and then create a tar archive from these files; there is a bit more but that is enough to cover 95% of cases. That said, you only need to know that if you plan on making packages. If you only want to use the binaries, you don't need to know anything besides the few commands which are on the main documentation page. By the way, binary compatibility between distributions on Linux is done through a chroot. It's very compatible and fast to install but it's less nice to work with (although you can script a few things and be fine). That's why the next version will also make it possible to build and use your own compiler binaries; the downside is that it will take more time to build. I've already started working on that and it should be available in a few days. Regards, Adrien Nader -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Win-builds 1.3.0 - stable release
On Tue, Jan 14, 2014, wynfi...@gmail.com wrote: Great!. I installed the last version from using programs ? in win-builds-bundle-1.3-rc1.zip and using msys-install.sh and win-builds-switch.sh. Can I get the new version by running the existing msys-install.sh I have and will yypkg know what to do ? Sorry, I forgot to mention that. In your case, you need to run: export YYPREFIX=$(cygpath -m /opt/windows_32) # change the mirror in use: sherpa -set-mirror http://win-builds.org/1.3.0/packages/windows_32 # reinstall the packages you need to update from sherpa: sherpa -install openssl expat Only openssl and expat have changed since RC1 (and gcc but you don't care about it since you use cygwin's): a couple missing .exe extensions were added. Most of the changes were packaging so you're likely not impacted. There are however a few interesting changes to the win-builds-switch script. You can simply get it from the latest .zip file and drop it in /opt/windows_32/bin. Regards, Adrien Nader -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Cross compiling the compiler on Linux
Hi, On Mon, 13 Jan 2014 18:21:12 +0100, Adrien Nader adr...@notk.org wrote: On Mon, Jan 13, 2014, Peter Kümmel wrote: What's mingw-w64's state-of-the-art way of cross compiling on Linux (Ubuntu)? As Ruben pointed out, you can use the binaries from your distribution. In the case of Ubuntu, you inherit the ones from Debian most probably. However that means it's going to lag quite a lot, especially if there is no corresponding maintainer on ubuntu's side. The various Debian-based distributions have whatever was current at the time they freeze (irrespective of when Debian freezes). So Ubuntu 13.10 has mingw-w64 r5915 (it froze just before 3.0.0 was released), and 14.04 will have whatever is current when it freezes (it has 3.1.0 currently). gcc-mingw-w64 lagged a bit because of the gnat-4.8 delay, so Ubuntu 13.10 has 4.6.3, but 14.04 will have at least 4.8.2 (and future versions won't have the gnat problem). I'm working on introducing a new partial architecture in Debian, which will allow us to easily (for some value of easily) build lots of libraries and binaries with security support and all the rest. I'll be talking about this at the mini-DebConf in Paris this weekend. Regards, Stephen (the Debian Developer behind the curtain) -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Ruben's Clang builds
I am trying to use Ruben's clang builds (clang 3.2). I unpacked the zip and ran `clang64env.cmd`. When I tried compiling a trivial c program, I get the error: fatal error: 'stdio.h' file not found Anyone (Ruben or other) know what the problem is/how to solve this? P.S. The reason I tried using Ruben's older builds and not the current official 3.4 Windows build is that I got the exact same error after using the 3.4 installer. I thought it was because the installer version was only for compiling from within VS. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı -- 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=119420431iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Ruben's Clang builds
You should try Clang 3.4 in MSYS2. On Mon, Jan 13, 2014 at 9:34 PM, Baruch Burstein bmburst...@gmail.com wrote: I am trying to use Ruben's clang builds (clang 3.2). I unpacked the zip and ran `clang64env.cmd`. When I tried compiling a trivial c program, I get the error: fatal error: 'stdio.h' file not found Anyone (Ruben or other) know what the problem is/how to solve this? P.S. The reason I tried using Ruben's older builds and not the current official 3.4 Windows build is that I got the exact same error after using the 3.4 installer. I thought it was because the installer version was only for compiling from within VS. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public