summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgcc-config45
1 files changed, 22 insertions, 23 deletions
diff --git a/gcc-config b/gcc-config
index 2834432..abb99fa 100755
--- a/gcc-config
+++ b/gcc-config
@@ -2,7 +2,7 @@
# Copyright 1999-2002 Gentoo Foundation
# Distributed under the terms of the GNU General Public License
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.2.7,v 1.1 2002/12/25 21:37:47 azarah Exp $
+# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.2.7,v 1.2 2003/01/02 21:40:41 azarah Exp $
source /etc/init.d/functions.sh || {
@@ -12,42 +12,41 @@ source /etc/init.d/functions.sh || {
usage() {
cat << "USAGE_END"
-Usage: gcc-config [Option] <CHOST>-<gcc version>
-Options:
- [--use-old]
-
- Use the old profile if one was selected.
+Usage: gcc-config [Option] [GCC Profile]
+Change the current gcc profile, or give info about profiles.
- [--use-portage-chost]
+Options:
- Only set to given profile if its CHOST is the same as that
- set for portage in /etc/make.conf (or one of other portage
- config files...).
+ --use-old Use the old profile if one was selected.
- [--get-current-profile]
+ --use-portage-chost Only set to given profile if its CHOST is the same
+ as that set for portage in /etc/make.conf (or one of
+ other portage config files...).
- Print current used gcc profile.
+ --get-current-profile Print current used gcc profile.
- [--list-profiles]
+ --list-profiles Print a list of available profiles.
- Print a list of available profiles.
+ --print-environ Print environment that can be used to setup things
+ for current gcc profile, or specified one ...
- [--print-environ]
+ --get-bin-path Print path where binaries of given/current profile
+ are located.
- Print environment that can be used to setup things for current
- gcc profile, or specified one ...
+ --get-lib-path Print path where libraries of given/current profile
+ are located.
- [--get-bin-path]
+ --get-stdcxx-incdir Print path to g++ include files of given/current
+ profile.
- Print path where binaries of given/current profile are located.
+The profile name is in the form of:
- [--get-lib-path]
+ <CHOST>-<gcc version>
- Print path where libraries of given/current profile are located.
+For example:
- [--get-stdcxx-incdir]
+ i686-pc-linux-gnu-3.2.1
- Print path to g++ include files of given/current profile.
USAGE_END