aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-08-24 17:39:48 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-08-24 17:39:48 +0100
commit9fb81748c138eb4e0ce71af7aed9cbd400cab35a (patch)
tree0fcd6cf9f4f1091cbdee203bf1834901b52784bd
parentREADME: fix typos s/Practially/Practically and s/tolchain/toolchain/ (diff)
downloadgcc-config-9fb81748c138eb4e0ce71af7aed9cbd400cab35a.tar.gz
gcc-config-9fb81748c138eb4e0ce71af7aed9cbd400cab35a.tar.bz2
gcc-config-9fb81748c138eb4e0ce71af7aed9cbd400cab35a.zip
README: document /etc/env.d/04gcc-${CTARGET}
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--README17
1 files changed, 15 insertions, 2 deletions
diff --git a/README b/README
index aef9e98..e7933d8 100644
--- a/README
+++ b/README
@@ -41,9 +41,21 @@ Files, variables, things.
Used by gcc-config to generate wrappers and 05gcc- env.d files.
Used by wrapper to extract GCC_PATH and re-exec().
-- gcc env.d cross-compiler entries (provided by gcc-config)
+- gcc env.d compiler entries (provided by gcc-config)
- /etc/env.d/05gcc-${CTARGET}
+ /etc/env.d/04gcc-${CTARGET} (native)
+
+ Populates paths for native-compilers
+
+ PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0"
+ ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0"
+ GCC_SPECS=""
+ MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/man"
+ INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/info"
+
+ Used by env-update to populate PATH and more (TODO: remove PATH population).
+
+ /etc/env.d/05gcc-${CTARGET} (cross)
Populates paths for cross-compilers
@@ -51,6 +63,7 @@ Files, variables, things.
ROOTPATH="/usr/x86_64-pc-linux-gnu/powerpc64le-unknown-linux-gnu/gcc-bin/7.3.0"
Used by wrapper to extract PATH and re-exec().
+ Used by env-update to populate PATH (TODO: remove PATH population).
How does gcc-config work?
-------------------------