|
|
profile are located. | profile are located. |
-X, --get-stdcxx-incdir Print path where g++ include files of the | -X, --get-stdcxx-incdir Print path where g++ include files of the |
given/current profile are located. | given/current profile are located. |
|
-n, --no-color Disable colorized output. |
| |
Profile names are of the form: <CHOST>-<gcc version> | Profile names are of the form: <CHOST>-<gcc version> |
For example: i686-pc-linux-gnu-3.2.1 | For example: i686-pc-linux-gnu-3.2.1 |
|
|
| |
x=${x##*/} | x=${x##*/} |
if [[ ${x} == ${CURRENT_NATIVE} ]] ; then | if [[ ${x} == ${CURRENT_NATIVE} ]] ; then |
x="${x} ${GOOD}*${NORMAL}" |
if [[ -z ${NOCOLOR} ]]; then |
|
x="${x} ${GOOD}*${NORMAL}" |
|
else |
|
x="${x} *" |
|
fi |
elif [[ -e ${GCC_ENV_D}/config-${target} ]] ; then | elif [[ -e ${GCC_ENV_D}/config-${target} ]] ; then |
source "${GCC_ENV_D}/config-${target}" | source "${GCC_ENV_D}/config-${target}" |
[[ ${x} == ${CURRENT} ]] && x="${x} ${HILITE}*${NORMAL}" | [[ ${x} == ${CURRENT} ]] && x="${x} ${HILITE}*${NORMAL}" |
|
|
DOIT="get_stdcxx_incdir" | DOIT="get_stdcxx_incdir" |
fi | fi |
;; | ;; |
|
-n|--no-color) |
|
NOCOLOR='yes please' |
|
;; |
-h|--help) | -h|--help) |
usage 0 | usage 0 |
;; | ;; |