1 .PHONY
: gcc48 gcc48-container gcc55 gcc55-container
5 #ARCHES = x86_64-pc-linux-gnu aarch64-linux-gnu arm-linux-gnueabihf i686-linux-gnu powerpc64le-linux-gnu powerpc-linux-gnu riscv64-linux-gnu s390x-linux-gnu
6 ARCHES
= x86_64-pc-linux-gnu aarch64-linux-gnu
7 # The last build of gcc-4.8 used a native gcc-4.8 compiler from snapshot.debian.org,
8 # so we avoid rebuilding the host compiler at this time.
9 ARCHES_48
:= $(filter-out x86_64-pc-linux-gnu
,$(ARCHES
))
11 gcc55
: gcc55-container
13 podman run
--rm -e
"TARGETS=$(ARCHES)" -e
"SRC_DIR=/src/gcc-releases-gcc-5.5.0" -e
"BIN_SUFFIX=5.5" -e
"CSTD=gnu11" -e
"CXXSTD=gnu++11" -v .
/gcc55
:/output localhost
/gcc-5.5
14 tar -czf gcc55.
tar.gz
-C gcc55 .
/
17 podman build
-t gcc-5.5
-f gcc5.Containerfile .
19 gcc48
: gcc48-container
21 podman run
--rm -e
"TARGETS=$(ARCHES_48)" -v .
/gcc48
:/output localhost
/gcc-4.8
22 tar -czf gcc48.
tar.gz
-C gcc48 .
/
25 podman build
-t gcc-4.8
-f Containerfile .