diff options
author | 2003-01-02 21:40:41 +0000 | |
---|---|---|
committer | 2003-01-02 21:40:41 +0000 | |
commit | 56e01792eca65f2e89136e4ba78e516710e0d831 (patch) | |
tree | ad7a6c54541a79862a09b15ca6b06b07b744490b | |
parent | add colorgcc support, bug #12689 (diff) | |
download | gcc-config-56e01792eca65f2e89136e4ba78e516710e0d831.tar.gz gcc-config-56e01792eca65f2e89136e4ba78e516710e0d831.tar.bz2 gcc-config-56e01792eca65f2e89136e4ba78e516710e0d831.zip |
change usage screen; bug #13005.v1.2.7
-rwxr-xr-x | gcc-config | 45 |
1 files changed, 22 insertions, 23 deletions
@@ -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 |