MingGW-w64 Build Script 3.6.7

Releases for my MinGW-w64 build script
Post Reply
User avatar
Zeranoe
Site Admin
Posts: 644
Joined: Sat May 07, 2011 7:12 pm
Contact:

MingGW-w64 Build Script 3.6.7

Post by Zeranoe » Wed Aug 05, 2015 4:51 pm

Version 3.6.7 of the MingGW-w64 Build Script has been released.

Download mingw-w64-build-3.6.7

Code: Select all

wget http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.7
Script Features
  • Builds both Win32 and Win64 toolchains.
  • Checks for missing packages before the compile begins.
  • Builds are “full featured” toolchain (isl and cloog).
  • Can choose between a Win32 or Win64 build, or choose to compile both.
  • Automatically detects a previous built toolchain and updates the toolchain instead of a full rebuild.
  • pthreads is automatically built and installed.
  • Builds a toolchain that can compile FFmpeg for Win32 and Win64, along with the external libraries.
  • Automatically stops the script if any package fails to build.
  • Support for make “jobs” which will use multiple CPU cores/threads.
  • Allow user to choose which version of GCC, Binutils, and MinGW-w64 to build.
  • Allow for a fully static build.
  • Clean the build after the build finishes.
  • Allow the user to select which languages to build into GCC.
  • Allow the user to build without NLS support
  • Support for command line arguments, see:

    Code: Select all

    bash ./mingw-w64-build-3.6.7 --help
    for more information
Supported Stable Package Versions Changes & Fixes
  • Updated MinGW-w64 to 4.0.4
  • Added support for GCC to 5.2.0
  • Updated GCC to 4.9.3
  • Updated MPFR to 3.1.3
  • Updated Binutils to 2.25.1
  • Updated ISL to 0.14
  • Removed Binutils snapshot support
  • Bash changed
Please note that a toolchain is a set of tools that act as a compiler. With this toolchain FFmpeg can be cross compiled, but this script will not compile FFmpeg along with the toolchain.

This script has been tested on Ubuntu 64-bit, Ubuntu 32-bit, Debian 64-bit, and it should work on any Linux that supports Bash.

Example
Multi (32-bit and 64-bit), static, MinGW-w64 4.0.4, GCC 4.9.3, Binutils 2.25.1, using all cores/threads detected, with pthread-w32 support and gendef:

Code: Select all

bash ./mingw-w64-build-3.6.7 --build-type=multi --default-configure --disable-shared --enable-gendef
License
The script is licensed under the GNU General Public License Version 3

Getfree
Posts: 3
Joined: Mon Aug 17, 2015 1:34 pm

Re: MingGW-w64 Build Script 3.6.7

Post by Getfree » Mon Aug 17, 2015 1:49 pm

Can this script be used for compiling with support for non-free libraries like libfdk_aac?
I searched the text "libfdk_aac" inside the script, but found nothing.

hydra3333
Posts: 123
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: MingGW-w64 Build Script 3.6.7 - out of date ?

Post by hydra3333 » Tue Apr 11, 2017 5:31 am

Just wondering, is 3.6.7 the latest ? It seems maybe not.

Zeranoe's build readme says
This build was compiled on Ubuntu 16.04.2 LTS: <https://www.ubuntu.com/>
GCC 6.3.0 was used to compile this FFmpeg build: <http://gcc.gnu.org/>
Whereas this http://zeranoe.com/scripts/mingw_w64_bu ... uild-3.6.7
indicates an older version of gcc than 6.3.0

Code: Select all

   75:  ## Versions
   76:  mingw_w64_release_ver='4.0.4'
   77:  gcc_release_ver='5.2.0'
   78:  gcc_old_release_ver='4.9.3'
   79:  mpfr_release_ver='3.1.3'
and RDP's script uses a newer ming build toolchain as well)

Would it be possible to post the latest toolchain, viz mingw_w64_release_ver='5.0.1' ? Please ?

oviano
Posts: 12
Joined: Sat May 14, 2016 9:15 am

Re: MingGW-w64 Build Script 3.6.7

Post by oviano » Thu Apr 27, 2017 5:17 am

I recently updated the script to use the latest versions of all the components, you can find my version here.

This built the toolchain without errors on a fresh install of Ubuntu 17.04, although I haven't actually used the built compiler/tools yet.

https://www.dropbox.com/s/f3f2r2kr61xa1 ... no.sh?dl=0

hydra3333
Posts: 123
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: MingGW-w64 Build Script 3.6.7

Post by hydra3333 » Thu Apr 27, 2017 10:42 am

Thanks. My feeble attempt, with gcc 6.3.0 patches per deadsix27's script, is like this
<snip> no longer useful
Ubuntu 16.04.2 in a VM.

Post Reply