Name
gcc_select
Synopsis
gcc_select [-v | --version] [-h | --help] [-l | --list] gcc_select [-v | --version] [-n] [-force] [-root] [-dstrootpathname
] { 2 | 3 | 3.x
}
A shell script that sets the default version of GCC (either 2.95.2
(2
), 3.1 (3
), or some other
version (specified as
3
.x
)) by creating
various symlinks for compiler tools, libraries, and headers. With no
arguments (or with just -v
), the current default
version is printed to standard output.
Options
-
-dstroot
Specify the root-level directory in which changes are made. The default is
/usr
.-
-force
Recreate symlinks for the specified version, even if it is already the current default version.
-
-h
|--help
Print a usage statement to standard output.
-
-l
|--list
List available GCC versions.
-
-n
Print the list of commands that would be executed to standard output, but don’t actually execute them.
-
-root
Disable the initial check for
root
access before executing commands.-
-v
|--version
Print the version of
gcc_select
to standard output.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.