/* begin *
If you build gmp/mpfr/mpc inside of gcc source tree; then you have to apply following patches:
gcc-12.2.0-fixinc-gmp-inside.patch
gcc-12.2.0-gmp-inside.patch
If you use system installed gmp/mpfr/mpc, then you have to apply other patches:
gcc-12.2.0-fixinc-gmp-outside.patch
gcc-12.2.0-x86_64-multilib.patch
libcpp:
======
gcc-12.2.0-build-libcpp.patch - is needed when build != host machine for avoid error related to
pass target CFLAGS to the build compiler.
NOTE:
----
The patch 'gcc-12.2.0-build-libcpp.patch' should be applyed strongly after
the 'gcc-12.2.0-gmp-inside.patch'.
Ada CCACHE:
==========
gcc-12.2.0-ccache-ada.patch - gnatmake/gnatlink not correct parses --GCC="..." options
If you will use --GCC="ccache gcc --someflags" then these
utilites deside that CC=ccache and CFLAGS="gcc --someflags".
This patch created especialy for building ada/tools without
ccache in case when whole build system uses ccache as well.
If you applay this patch then you have to export two variables
from your Makefile (which builds GCC):
export GCC_FOR_GNAT = $(CROSS_COMPILE)gcc --sysroot=$(TARGET_DEST_DIR)
export GCC_LINK_FOR_GNAT = $(CROSS_COMPILE)g++ --sysroot=$(TARGET_DEST_DIR)
without $(CCACHE) before $(CROSS_COMPILE)gcc/g++ .
Patches order:
=============
gcc-12.2.0-gmp-inside.patch
gcc-12.2.0-build-libcpp.patch
gcc-12.2.0-no-fixincludes.patch
gcc-12.2.0-fixinc-gmp-inside.patch <-OR-> gcc-12.2.0-fixinc-gmp-outside.patch
gcc-12.2.0-ccache-ada.patch
gcc-12.2.0-fortran-interface.patch
gcc-12.2.0-libstdc++-docs.patch
gcc-12.2.0-libtool-no-rpath.patch
gcc-12.2.0-aarch64-multilib.patch
gcc-12.2.0-ppc64-multilib.patch
gcc-12.2.0-ppc64le-multilib.patch
gcc-12.2.0-x86_64-multilib.patch
* end */