Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-config:master commit in: /
Date: Fri, 24 Aug 2018 16:40:23
Message-Id: 1535128788.9fb81748c138eb4e0ce71af7aed9cbd400cab35a.slyfox@gentoo
1 commit: 9fb81748c138eb4e0ce71af7aed9cbd400cab35a
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 24 16:39:48 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 24 16:39:48 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=9fb81748
7
8 README: document /etc/env.d/04gcc-${CTARGET}
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 README | 17 +++++++++++++++--
13 1 file changed, 15 insertions(+), 2 deletions(-)
14
15 diff --git a/README b/README
16 index aef9e98..e7933d8 100644
17 --- a/README
18 +++ b/README
19 @@ -41,9 +41,21 @@ Files, variables, things.
20 Used by gcc-config to generate wrappers and 05gcc- env.d files.
21 Used by wrapper to extract GCC_PATH and re-exec().
22
23 -- gcc env.d cross-compiler entries (provided by gcc-config)
24 +- gcc env.d compiler entries (provided by gcc-config)
25
26 - /etc/env.d/05gcc-${CTARGET}
27 + /etc/env.d/04gcc-${CTARGET} (native)
28 +
29 + Populates paths for native-compilers
30 +
31 + PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0"
32 + ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0"
33 + GCC_SPECS=""
34 + MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/man"
35 + INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/info"
36 +
37 + Used by env-update to populate PATH and more (TODO: remove PATH population).
38 +
39 + /etc/env.d/05gcc-${CTARGET} (cross)
40
41 Populates paths for cross-compilers
42
43 @@ -51,6 +63,7 @@ Files, variables, things.
44 ROOTPATH="/usr/x86_64-pc-linux-gnu/powerpc64le-unknown-linux-gnu/gcc-bin/7.3.0"
45
46 Used by wrapper to extract PATH and re-exec().
47 + Used by env-update to populate PATH (TODO: remove PATH population).
48
49 How does gcc-config work?
50 -------------------------