aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-02-26 08:39:12 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-02-26 08:39:12 +0000
commit271432c86304a4724c500df532d41f184ac76c55 (patch)
treec91561583adbc9e43a62b0e4bbcefcea788de65c
parentgcc-config: Do not call 'python' directly. (diff)
downloadgcc-config-271432c86304a4724c500df532d41f184ac76c55.tar.gz
gcc-config-271432c86304a4724c500df532d41f184ac76c55.tar.bz2
gcc-config-271432c86304a4724c500df532d41f184ac76c55.zip
gcc-config: add examples of profile formats
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xgcc-config5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc-config b/gcc-config
index 0eb1b5f..eadea0b 100755
--- a/gcc-config
+++ b/gcc-config
@@ -61,8 +61,9 @@ usage() {
-L, --get-lib-path Print path where libraries of the given/current
profile are located.
- Profile names are of the form: <CTARGET>-<version>
- For example: i686-pc-linux-gnu-3.2.1
+ Profile names are of the form: <CTARGET>-<version> (like 'i686-pc-linux-gnu-3.2.1')
+ <version> (like '3.2.1')
+ <profile-number> (as specified in '--list-profiles')
EOF
exit ${1:-1}
}