1 f951 (fortran) links to MPFR and GMP of our staging area but when executing
2 the command the libs can not be found. Use rpath like all the other apps in
3 our staging bin/ directory.
5 Patch the configure to avoid the regeneration...
7 Index: gcc-4.2.2/configure
8 ===================================================================
9 --- gcc-4.2.2.orig/configure 2008-01-15 23:23:41.000000000 +0100
10 +++ gcc-4.2.2/configure 2008-01-15 23:25:20.000000000 +0100
11 @@ -2278,14 +2278,14 @@
14 if test "x$with_mpfr" != x; then
15 - gmplibs="-L$with_mpfr/lib $gmplibs"
16 + gmplibs="-static -L$with_mpfr/lib $gmplibs"
17 gmpinc="-I$with_mpfr/include"
19 if test "x$with_mpfr_include" != x; then
20 gmpinc="-I$with_mpfr_include"
22 if test "x$with_mpfr_lib" != x; then
23 - gmplibs="-L$with_mpfr_lib $gmplibs"
24 + gmplibs="-static -L$with_mpfr_lib $gmplibs"
27 # Specify a location for gmp
28 Index: gcc-4.2.2/configure.in
29 ===================================================================
30 --- gcc-4.2.2.orig/configure.in 2008-01-15 23:23:41.000000000 +0100
31 +++ gcc-4.2.2/configure.in 2008-01-15 23:24:36.000000000 +0100
32 @@ -1066,14 +1066,14 @@
33 AC_ARG_WITH(mpfr_lib, [ --with-mpfr-lib=PATH Specify the directory for the installed MPFR library])
35 if test "x$with_mpfr" != x; then
36 - gmplibs="-L$with_mpfr/lib $gmplibs"
37 + gmplibs="-static -L$with_mpfr/lib $gmplibs"
38 gmpinc="-I$with_mpfr/include"
40 if test "x$with_mpfr_include" != x; then
41 gmpinc="-I$with_mpfr_include"
43 if test "x$with_mpfr_lib" != x; then
44 - gmplibs="-L$with_mpfr_lib $gmplibs"
45 + gmplibs="-static -L$with_mpfr_lib $gmplibs"
48 # Specify a location for gmp