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