Name gcc-13-multilib
Description GNU C compiler (multilib support)
Version 13.3.0-6ubuntu2~24.04
Package Base gcc-13
Homepage http://gcc.gnu.org/
Maintainers ['Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Matthias Klose <doko@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/gcc-13/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/gcc-13-multilib/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/0001-Ada-remove-conversions-with-C-struct-timeval-from-GN.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/0002-Ada-remove-C-conversions-with-C-struct-timespec-from.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/0003-Ada-define-time_t-timeval-timespec-C-types-in-a-sing.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-749574.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-armel-libatomic.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-gcc-name.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-gnattools-cross.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-kfreebsd.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-lib-info-source-date-epoch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-link-lib.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-nobiarch-check.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-perl-shebang.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-sjlj.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ada-verbose.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/alpha-ieee-doc.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/alpha-ieee.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/alpha-no-ev4-directive.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arc-stddef.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-defaults.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-soft-cross.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-soft-float.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-soft.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-softfp-cross.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/arm-multilib-softfp.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/asan-allocator-base.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/bootstrap-no-unneeded-libs.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/canonical-cpppath.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/config-ml.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/cross-biarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/cross-fixes.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/cross-install-location.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/cross-no-locale-include.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/cuda-float128.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/disable-gdc-tests.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/dwarf5-revert-default-doc.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/dwarf5-revert-default.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/g++-multiarch-incdir.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-arm-disable-guality-tests.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-as-needed-gold.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-as-needed.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-auto-build.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-distro-specs-ubuntu-doc.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-distro-specs.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-driver-extra-langs.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-foffload-default.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-force-cross-layout.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-gfdl-build.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-hash-style-gnu.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-ice-apport.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-ice-dump.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-multiarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-multilib-multiarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-search-prefixed-as-ld.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-target-include-asm.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-textdomain.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-verbose-lto-link.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gcc-vhdl.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gccrs-bootstrap-mipsel.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gdc-dynamic-link-phobos.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gdc-multiarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gdc-texinfo.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/git-doc-updates.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/git-updates.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gm2-bootstrap-compare.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/gm2-texinfo.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/go-testsuite.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/hppa64-libgcov-fallback.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/hurd-amd64.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/hurd-changes.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/hurd-multiarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/hurd-multilib-multiarch.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ia64-disable-selective-scheduling.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/ignore-pie-specs-when-not-enabled.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/kfreebsd-decimal-float.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libasan-sparc.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libffi-race-condition.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libffi-ro-eh_frame_sect.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgo-cleanfiles.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgo-hurd-hack.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgo-revert-timeout-exp.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgo-setcontext-config.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgo-testsuite.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgomp-kfreebsd-testsuite.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libgomp-omp_h-multilib.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libiberty-sha1-1.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libiberty-sha1-2.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libitm-no-fortify-source.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libphobos-zlib.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libsanitizer-no-crypt.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libsanitizer-timebits.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-doclink.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-doxygen-SOURCE_DATE_EPOCH.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-hurd.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-man-3cxx.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-no-testsuite.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-nothumb-check.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-pic.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-pythondir.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/libstdc++-test-installed.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/musl-ssp.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/newlib-amdgcn-locks.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/note-gnu-stack.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr100067-revert.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr104290-followup.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr107475.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr110066.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr110934.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr113030.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr114065-proposed.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr114533.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr39491.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr66368.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr67590.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr67899.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr79724-revert.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr81829.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr87808.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr88552.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr94253.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/pr99832-distro.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/rename-info-files.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/rust-enabled.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/skip-bootstrap-multilib.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/sparc64-biarch-long-double-128.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/sys-auxv-header.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/t-libunwind-elf-Wl-z-defs.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/testsuite-glibc-warnings.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/testsuite-hardening-format.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/testsuite-hardening-printf-types.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/testsuite-hardening-updates.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/toplevel-add-gprofng.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/gcc-13/plain/debian/patches/toplevel-add-libsframe.diff?h=ubuntu/noble']
Dependencies ['gcc-13', 'gcc-13-base', 'lib32gcc-13-dev', 'libc6-dev-i386', 'libc6-dev-x32', 'libx32gcc-13-dev']
Optional-Dependencies []
Build-Dependencies ['debhelper', 'dpkg-dev', 'g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mips64r6 mips64r6el mipsel mipsn32 mipsn32el mipsn32r6 mipsn32r6el mipsr6 mipsr6el powerpc ppc64 s390 s390x sparc sparc64 x32] <!cross>', 'libc6.1-dev', 'libc6-dev-amd64 [i386 x32]', 'libc6-dev-sparc64 [sparc]', 'libc6-dev-sparc [sparc64]', 'libc6-dev-s390 [s390x]', 'libc6-dev-s390x [s390]', 'libc6-dev-i386 [amd64 x32]', 'libc6-dev-powerpc [ppc64]', 'libc6-dev-ppc64 [powerpc]', 'libc0.1-dev-i386 [kfreebsd-amd64]', 'lib32gcc-s1 [amd64 ppc64 kfreebsd-amd64 mipsn32 mipsn32el mips64 mips64el mipsn32r6 mipsn32r6el mips64r6 mips64r6el s390x sparc64 x32]', 'libn32gcc-s1 [mips mipsel mips64 mips64el mipsr6 mipsr6el mips64r6 mips64r6el]', 'lib64gcc-s1 [i386 mips mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el powerpc sparc s390 x32]', 'libc6-dev-mips64 [mips mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el]', 'libc6-dev-mipsn32 [mips mipsel mips64 mips64el mipsr6 mipsr6el mips64r6 mips64r6el]', 'libc6-dev-mips32 [mipsn32 mipsn32el mips64 mips64el mipsn32r6 mipsn32r6el mips64r6 mips64r6el]', 'libc6-dev-x32 [amd64 i386]', 'libx32gcc-s1 [amd64 i386]', 'libc6.1-dbg [alpha ia64] | libc0.3-dbg [hurd-amd64 hurd-i386] | libc0.1-dbg [kfreebsd-amd64 kfreebsd-i386] | libc6-dbg', 'kfreebsd-kernel-headers', 'linux-libc-dev [m68k]', 'm4', 'libtool', 'autoconf2.69', 'gcc-14-base', 'dwz', 'libunwind8-dev [ia64]', 'libatomic-ops-dev [ia64]', 'gawk', 'lzma', 'xz-utils', 'patchutils', 'libzstd-dev', 'zlib1g-dev', 'systemtap-sdt-dev [linux-any]', 'binutils', 'binutils-hppa64-linux-gnu', 'gperf', 'bison', 'flex', 'gettext', 'nvptx-tools [amd64 arm64 ppc64el]', 'amdgcn-tools [amd64]', 'texinfo', 'locales-all', 'sharutils', 'procps', 'gnat-13', 'g++-13', 'netbase', 'gdc-13', 'python3', 'libisl-dev', 'libmpc-dev', 'libmpfr-dev', 'libgmp-dev', 'lib32z1-dev [amd64 kfreebsd-amd64]', 'lib64z1-dev [i386]', 'libx32z1-dev [amd64 kfreebsd-amd64 i386]', 'unzip <!nocheck>', 'dejagnu [!arm64] <!nocheck>', 'coreutils', 'chrpath', 'lsb-release', 'quilt', 'time', 'pkgconf', 'libgc-dev', 'g++-13-for-host <cross>', 'gobjc-13-for-host [!avr] <cross>', 'gfortran-13-for-host <cross>', 'gdc-13-for-host [!s390 !sh4] <cross>', 'gccgo-13-for-host [!hppa !m68k !sh4] <cross>', 'gnat-13-for-host [!m68k] <cross>', 'gm2-13-for-host [!loong64 !powerpc !ppc64 !sh4 !hurd-amd64 !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386] <cross>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 050f4266ef9f2338d6397caaee99aa10b58ba9a57882722bb6790dcefceaf762
#! /usr/bin/make -f
# -*- makefile -*-
# Build rules for gcc (>= 2.95) and gcc-snapshot
# Targets found in this makefile:
#	- unpack tarballs
#	- patch sources
#	- (re)create the control file
#	- create a debian/rules.parameters file, which is included
#	  by debian/rules2
# All other targets are passed to the debian/rules2 file

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

unexport LANG LC_ALL LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MESSAGES

default: build

include debian/rules.defs
include debian/rules.unpack
include debian/rules.patch

control: $(control_dependencies)
	@echo "Build environment: derivative=$(derivative), release=$(distrelease)"
	-mkdir -p $(stampdir)
	$(MAKE) -f debian/rules.conf $@

configure: control $(unpack_stamp) $(patch_stamp)
	$(MAKE) -f debian/rules2 $@

pre-build:
# no backport support for these releases ..., keep conditionals for
# Debian: jessie stretch buster bullseye ...
# UBuntu: precise trusty xenial bionic focal groovy hirsute ...
ifneq (,$(filter $(distrelease),lenny squeeze wheezy hardy lucid))
	@echo explicitely fail the build for $(distribution)/$(distrelease) on $(DEB_TARGET_ARCH).
	@echo no bug report required. please figure out the back port yourself.
	false
endif
#ifeq ($(PKGSOURCE),gcc-13)
#  ifneq (,$(findstring native, $(build_type)))
#    ifneq (,$(findstring mips, $(TARGET_ALIAS)))
#	@echo "native compiler for $(TARGET_ALIAS) not built from this source."
#	@echo "See https://lists.debian.org/debian-gcc/2021/05/msg00011.html"
#	false
#    endif
#  endif
#endif

build: pre-build control
	$(MAKE) $(NJOBS) -f debian/rules2 $@
build-arch: pre-build control
	$(MAKE) $(NJOBS) -f debian/rules2 $@
build-indep: pre-build control
	DEB_BUILD_OPTIONS="$(DEB_BUILD_OPTIONS) nostrap nohppa64 nonvptx nocheck nopgo nolto" \
	    $(MAKE) $(NJOBS) -f debian/rules2 $@

check: $(check_stamp)
$(check_stamp): $(build_stamp)
	$(MAKE) -f debian/rules2 $@

clean:
	rm -rf $(stampdir)
# remove temporary dirs used for unpacking
	rm -rf $(gcc_srcdir) $(gdc_srcdir) $(newlib_srcdir) $(binutils_srcdir)
	-$(MAKE) -f debian/rules2 $@
	rm -rf $(srcdir)* $(builddir)* debian/tmp* html
	rm -f bootstrap-* test-protocol* first-move-stamp
	rm -f debian/*.tmp
	rm -f debian/soname-cache
	find debian -name '.#*' | xargs -r rm -f
	rm -f $(series_file)*
	rm -rf .pc
	dh_clean

install:
	$(MAKE) -f debian/rules2 $@

html-docs doxygen-docs update-doxygen-docs update-ada-files xxx:
	$(MAKE) -f debian/rules2 $@

binary-arch binary:
	$(MAKE) -f debian/rules2 $@

binary-indep:
	DEB_BUILD_OPTIONS="$(DEB_BUILD_OPTIONS) nostrap nohppa64 nonvptx nocheck nopgo nolto" \
	    $(MAKE) -f debian/rules2 $@

source diff:
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

release:
	foo=$(shell basename $(CURDIR)); \
		if [ "$$foo" != "gcc-3.4" ]; then \
			find -name CVS -o -name .cvsignore -o -name '.#*' | \
				xargs rm -rf; \
		fi

.NOTPARALLEL:
.PHONY: build clean binary-indep binary-arch binary release