summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorEric Sandall2020-09-30 20:06:57 -0700
committerEric Sandall2020-09-30 20:09:17 -0700
commit232f450421a8907ca2906008f2a9db29bb1c2a35 (patch)
tree984b63bae31b77305135c9e02622370639593137 /gnu
parente72119f204064af58f5d35bdcd4b3183078158b9 (diff)
gcc: Add paths to libmpc (/usr), gmp (/), and mpfr (/)
Otherwise I get this error: configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at I didn't test which one is the one failing, added all three that gcc told me to.
Diffstat (limited to 'gnu')
-rwxr-xr-xgnu/gcc/DEPENDS6
-rw-r--r--gnu/gcc/HISTORY7
2 files changed, 10 insertions, 3 deletions
diff --git a/gnu/gcc/DEPENDS b/gnu/gcc/DEPENDS
index 4f3087e56a..2ef94a3d1b 100755
--- a/gnu/gcc/DEPENDS
+++ b/gnu/gcc/DEPENDS
@@ -2,9 +2,9 @@
. "$GRIMOIRE/libcompat" &&
depends perl &&
depends diffutils &&
-depends gmp &&
-depends libmpc &&
-depends mpfr &&
+depends gmp "--with-gmp=${INSTALL_ROOT}/" &&
+depends libmpc "--with-mpc=${INSTALL_ROOT}/usr" &&
+depends mpfr "--with-mpfr=${INSTALL_ROOT}/" &&
depends smgl-fhs &&
depends smgl-archspecs &&
depends zlib "--with-system-zlib" &&
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index 86bbd46877..93a43b9ec5 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,10 @@
+2020-09-29 Eric Sandall <sandalle@sourcemage.org>
+ * DEPENDS: Add paths to libmpc (/usr), gmp (/), and mpfr (/) otherwise I get this error:
+ configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
+ Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
+ their locations. Source code for these libraries can be found at
+ I didn't test which one is the one failing, added all three that gcc told me to.
+
2020-09-03 Thomas Orgis <sobukus@sourcemage.org>
* PRE_BUILD: drop .la files from installation
* DETAILS: ++PATCHLEVEL