77 |
77 |
78 ########################################################################################## |
78 ########################################################################################## |
79 # Define external dependencies |
79 # Define external dependencies |
80 |
80 |
81 # Latest that could be made to work. |
81 # Latest that could be made to work. |
82 GCC_VER := 8.2.0 |
82 GCC_VER := 8.3.0 |
83 ifeq ($(GCC_VER), 8.2.0) |
83 ifeq ($(GCC_VER), 8.3.0) |
84 gcc_ver := gcc-8.2.0 |
84 gcc_ver := gcc-8.3.0 |
85 binutils_ver := binutils-2.30 |
85 binutils_ver := binutils-2.32 |
86 ccache_ver := ccache-3.5.1a |
86 ccache_ver := 3.7.3 |
87 CCACHE_DIRNAME := ccache-3.5.1 |
|
88 mpfr_ver := mpfr-3.1.5 |
87 mpfr_ver := mpfr-3.1.5 |
89 gmp_ver := gmp-6.1.2 |
88 gmp_ver := gmp-6.1.2 |
90 mpc_ver := mpc-1.0.3 |
89 mpc_ver := mpc-1.0.3 |
91 gdb_ver := gdb-8.2.1 |
90 gdb_ver := gdb-8.3 |
92 else ifeq ($(GCC_VER), 7.3.0) |
91 else ifeq ($(GCC_VER), 7.3.0) |
93 gcc_ver := gcc-7.3.0 |
92 gcc_ver := gcc-7.3.0 |
94 binutils_ver := binutils-2.30 |
93 binutils_ver := binutils-2.30 |
95 ccache_ver := ccache-3.3.6 |
94 ccache_ver := 3.3.6 |
96 mpfr_ver := mpfr-3.1.5 |
95 mpfr_ver := mpfr-3.1.5 |
97 gmp_ver := gmp-6.1.2 |
96 gmp_ver := gmp-6.1.2 |
98 mpc_ver := mpc-1.0.3 |
97 mpc_ver := mpc-1.0.3 |
99 gdb_ver := gdb-8.1 |
98 gdb_ver := gdb-8.1 |
100 else ifeq ($(GCC_VER), 4.9.2) |
99 else ifeq ($(GCC_VER), 4.9.2) |
101 gcc_ver := gcc-4.9.2 |
100 gcc_ver := gcc-4.9.2 |
102 binutils_ver := binutils-2.25 |
101 binutils_ver := binutils-2.25 |
103 ccache_ver := ccache-3.2.1 |
102 ccache_ver := 3.2.1 |
104 mpfr_ver := mpfr-3.0.1 |
103 mpfr_ver := mpfr-3.0.1 |
105 gmp_ver := gmp-4.3.2 |
104 gmp_ver := gmp-4.3.2 |
106 mpc_ver := mpc-1.0.1 |
105 mpc_ver := mpc-1.0.1 |
107 gdb_ver := gdb-7.12.1 |
106 gdb_ver := gdb-7.12.1 |
108 else |
107 else |
109 $(error Unsupported GCC version) |
108 $(error Unsupported GCC version) |
110 endif |
109 endif |
111 |
110 |
112 GCC := http://ftp.gnu.org/pub/gnu/gcc/$(gcc_ver)/$(gcc_ver).tar.xz |
111 GCC := http://ftp.gnu.org/pub/gnu/gcc/$(gcc_ver)/$(gcc_ver).tar.xz |
113 BINUTILS := http://ftp.gnu.org/pub/gnu/binutils/$(binutils_ver).tar.xz |
112 BINUTILS := http://ftp.gnu.org/pub/gnu/binutils/$(binutils_ver).tar.xz |
114 CCACHE := https://samba.org/ftp/ccache/$(ccache_ver).tar.xz |
113 CCACHE := https://github.com/ccache/ccache/releases/download/v$(ccache_ver)/ccache-$(ccache_ver).tar.xz |
115 MPFR := https://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2 |
114 MPFR := https://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2 |
116 GMP := http://ftp.gnu.org/pub/gnu/gmp/${gmp_ver}.tar.bz2 |
115 GMP := http://ftp.gnu.org/pub/gnu/gmp/${gmp_ver}.tar.bz2 |
117 MPC := http://ftp.gnu.org/pub/gnu/mpc/${mpc_ver}.tar.gz |
116 MPC := http://ftp.gnu.org/pub/gnu/mpc/${mpc_ver}.tar.gz |
118 GDB := http://ftp.gnu.org/gnu/gdb/${gdb_ver}.tar.xz |
117 GDB := http://ftp.gnu.org/gnu/gdb/${gdb_ver}.tar.xz |
119 |
118 |