Updating gcc ubuntu

23-Oct-2017 14:17

It's why I switched the cross-compilation guide I maintain for FFmpeg and mpv and their dependencies from using the build script to also guiding the user through installing the toolchain just like everything else in the guide (based, admittedly, on what Zeranoe's build script used to do, just with more updated components).I haven't fleshed out instructions for Win64-targeted toolchains, though - it might be as simple as changing the --host= commands, it might not.

Let's say it installed to $HOME/mingw-build/mingw-w64-x86_64. It's going to be something like: export PATH=$HOME/mingw-build/mingw-w64-x86_64/bin:$PATH which inserts the bin path for the GCC install into the PATH before the rest of the entries.

I purged the old version of mingw and ensure that the path was in the correct order.

Now it is using the correct version of mingw and gcc.

3.5.8 is not the Min GW-w64 version, it's the version number of Zeranoe's build script.

The Min GW-w64 version it pulls in is either 3.1.0 or an SVN checkout.

Let's say it installed to $HOME/mingw-build/mingw-w64-x86_64. It's going to be something like: export PATH=$HOME/mingw-build/mingw-w64-x86_64/bin:$PATH which inserts the bin path for the GCC install into the PATH before the rest of the entries.

I purged the old version of mingw and ensure that the path was in the correct order.

Now it is using the correct version of mingw and gcc.

3.5.8 is not the Min GW-w64 version, it's the version number of Zeranoe's build script.

The Min GW-w64 version it pulls in is either 3.1.0 or an SVN checkout.

Long story short: I need to help updating the gcc compiler that mingw uses to compile for windows within my linux build environment.