Name

gcc_select

Synopsis

gcc_select [-v | --version] [-h | --help] [-l | --list]
gcc_select [-v | --version] [-n] [-force] [-root] { 2 | 3 | 3.x | 4.x }

A shell script that sets the default version of GCC—either 2.95.2 (specified as 2), 3.1 (3), 4.0 (4), 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

-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 Tiger in a Nutshell 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.