summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro W. Sior <aho@sior.be>2023-02-02 22:39:22 +0100
committerAlejandro W. Sior <aho@sior.be>2023-02-02 22:39:22 +0100
commit564e5211a5085e10680b2bf3553c7b8a97bdff94 (patch)
tree7d3aada26757690ab5d275b43f160c1f4c0fde49
parent4edb61cb73c4178a57f17c5febfddf006eb31a32 (diff)
gcc-7-il: new package at version 7.5.0-il-1
-rw-r--r--gcc-7-il/build21
-rw-r--r--gcc-7-il/checksums4
-rw-r--r--gcc-7-il/depends1
-rw-r--r--gcc-7-il/sources4
-rw-r--r--gcc-7-il/version1
5 files changed, 31 insertions, 0 deletions
diff --git a/gcc-7-il/build b/gcc-7-il/build
new file mode 100644
index 0000000..ddee51c
--- /dev/null
+++ b/gcc-7-il/build
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# Make build directory
+mkdir build
+cd build
+
+# Configure gcc
+../gcc/configure \
+ --prefix=/usr/gcc/7-il \
+ --with-as=/usr/bin/gas \
+ --with-gnu-as \
+ --with-ld=/usr/bin/ld \
+ --without-gnu-ld \
+ --enable-languages="c,c++,objc" \
+ --enable-shared \
+ --disable-bootstrap \
+ --with-pkgversion="Illumos Edelweiss" \
+ --with-bugurl="https://github.com/richlowe/gcc/issues"
+
+gmake
+gmake DESTDIR="$1" install
diff --git a/gcc-7-il/checksums b/gcc-7-il/checksums
new file mode 100644
index 0000000..7ccf6b3
--- /dev/null
+++ b/gcc-7-il/checksums
@@ -0,0 +1,4 @@
+a378bdc914761dfe88eaf9c3d931c5b2 gcc-7.5.0-il-1.tar.gz
+0b82665c4a92fd2ade7440c13fcaa42b gmp-6.2.1.tar.xz
+a25091f337f25830c16d2054d74b5af7 mpfr-4.2.0.tar.xz
+5c9bc658c9fd0f940e8e3e0f09530c62 mpc-1.3.1.tar.gz
diff --git a/gcc-7-il/depends b/gcc-7-il/depends
new file mode 100644
index 0000000..ac0a69d
--- /dev/null
+++ b/gcc-7-il/depends
@@ -0,0 +1 @@
+binutils
diff --git a/gcc-7-il/sources b/gcc-7-il/sources
new file mode 100644
index 0000000..b05220c
--- /dev/null
+++ b/gcc-7-il/sources
@@ -0,0 +1,4 @@
+https://github.com/illumos/gcc/archive/refs/tags/gcc-7.5.0-il-1.tar.gz $/gcc
+https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz $/gcc/gmp
+https://www.mpfr.org/mpfr-current/mpfr-4.2.0.tar.xz $/gcc/mpfr
+https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz $/gcc/mpc
diff --git a/gcc-7-il/version b/gcc-7-il/version
new file mode 100644
index 0000000..b908cb5
--- /dev/null
+++ b/gcc-7-il/version
@@ -0,0 +1 @@
+7.5.0-il-1