O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required