I need to compile a modern version of GCC
in order to compile CMake
in order to compile OpenCV 3.0.0
.
So I want to compile a modern and stable version of GCC
for the Raspberry Pi 2b
. I've read this topic: How can I install GCC 4.8 on the Raspberry Pi? . The accepted answer explains how to install some patches, which seem to be needed for compiling the GCC on Debian. It doesn't state however, if those patches are still needed, when I use a newer version of GCC.
Is the patching process still necessary when compiling GCC 6 version from ftp://ftp.fu-berlin.de/unix/languages/gcc/snapshots/LATEST-6/gcc-6-20151108.tar.bz2 or have these patches already been applied to them?
(For the future: How do I figure that out myself?)