Gentoo Archives: gentoo-dev

From: Benda Xu <heroxbd@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Gcc 6 and Gcc 5 update
Date: Sun, 11 Dec 2016 23:43:02
Message-Id: 87a8c26nif.fsf@gentoo.org
In Reply to: Re: [gentoo-dev] Gcc 6 and Gcc 5 update by Walter Dnes
1 Hi,
2
3 "Walter Dnes" <waltdnes@××××××××.org> writes:
4
5 > Are the gmp, mpc, mpfr, and isl libs included? According to the
6 > "Support libraries" section at https://gcc.gnu.org/wiki/InstallingGCC
7
8 They are managed by their own ebuilds.
9
10 >> Alternatively, after extracting the GCC source archive, simply
11 >> run the ./contrib/download_prerequisites script in the GCC source
12 >> directory. That will download the support libraries and create
13 >> symlinks, causing them to be built automatically as part of the GCC
14 >> build process. Set GRAPHITE_LOOP_OPT=no in the script if you want
15 >> to build GCC without ISL, which is only needed for the optional
16 >> Graphite loop optimizations.
17 >
18 > That approach guarantees that the appropriate library versions are
19 > available for the version of GCC that you're building.
20
21 Bundled libraries are discouraged in Gentoo, because you cannot reuse
22 the libraries for other packages and it is not transparent to fix
23 security bugs.
24
25 Benda