1 |
Hi Steven, |
2 |
|
3 |
Steven Trogdon <strogdon@×××××.edu> writes: |
4 |
|
5 |
> OK, making progress here. Finally I got gcc rebuilt but I had to modify the |
6 |
> toolchain.eclass |
7 |
> |
8 |
> --- |
9 |
> @@ -845,7 +845,14 @@ |
10 |
> --mandir="${EPREFIX}${DATAPATH}/man" |
11 |
> --infodir="${EPREFIX}${DATAPATH}/info" |
12 |
> --with-gxx-include-dir="${EPREFIX}${STDCXX_INCDIR}" |
13 |
> + --with-gmp-lib="${EPREFIX}/usr/lib" |
14 |
> + --with-mpfr-lib="${EPREFIX}/usr/lib" |
15 |
> + --with-mpc-lib="${EPREFIX}/usr/lib" |
16 |
> + --with-boot-ldflags="-Wl,--dynamic-linker=${EPREFIX}/lib/ld-linux-x86-64.so.2" |
17 |
> ) |
18 |
> |
19 |
> # Stick the python scripts in their own slotted directory (bug #279252) |
20 |
> # |
21 |
|
22 |
Good job. I think that works. That's the method in the 3rd column of |
23 |
|
24 |
https://wiki.gentoo.org/wiki/Prefix/libc |
25 |
|
26 |
which lists all the things that should be changed. It might resolve the |
27 |
gfortran issue. |
28 |
|
29 |
|
30 |
An alternative is sysroot. An example is at |
31 |
|
32 |
https://gitweb.gentoo.org/dev/heroxbd.git/tree/eclass/toolchain.eclass |
33 |
|
34 |
|
35 |
We haven't decided which method to use though. |
36 |
|
37 |
Yours, |
38 |
Benda |