nixpkgs/pkgs/development/compilers/gcc
Sergei Trofimovich eece5d0dc0 gcc: enable stripping for cross-compilers
With explicit support for distinction between Host and Target strip paths
we can now safely strip ELF binaries with their according strip tools
without fear of damaging binaries due to architecture mismatch.

Closure size change for `pkgsCross.mingwW64.gcc12Stdenv.cc.cc`:

    # before:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-debug-12.1.0           2.5G

    # after:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-12.1.0         1.5G
2022-07-25 11:06:58 +01:00
..
4.8 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
4.9 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
6 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
7 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
8 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
9 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
10 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
11 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
12 gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
common gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
builder.sh gcc: enable stripping for cross-compilers 2022-07-25 11:06:58 +01:00
gcc-12-gfortran-driving.patch gcc12, gfortran12, gnat12: init at 12.1.0 2022-05-07 13:50:47 +01:00
gcc-12-no-sys-dirs.patch gcc12, gfortran12, gnat12: init at 12.1.0 2022-05-07 13:50:47 +01:00
gfortran-darwin-NXConstStr.patch
gfortran-driving.patch
gnat-cflags-11.patch
gnat-cflags.patch
libgomp-dont-force-initial-exec.patch
libphobos.patch
libsanitizer-no-cyclades-9.patch
libsanitizer-no-cyclades.patch
libstdc++-netbsd-ctypes.patch
libstdc++-target.patch
no-sys-dirs-riscv-gcc9.patch gcc9: Add no-sys-dir patch for RISC-V (#154230) 2022-01-12 06:27:48 -05:00
no-sys-dirs-riscv.patch gcc{10,11}: add no-sys-dir patch for RiscV 2021-11-30 16:58:45 +08:00
no-sys-dirs.patch
parallel-bconfig.patch
ppc-musl.patch
res_state-not-declared.patch
sigsegv-not-declared.patch
struct-sigaltstack-4.9.patch
struct-sigaltstack.patch
struct-ucontext-4.5.patch
struct-ucontext-4.8.patch
struct-ucontext-libjava.patch
struct-ucontext.patch
update-mcfgthread-patches.sh
use-source-date-epoch.patch