Use gcc_select to switch compilers
Sep 02, '02 10:53:30AM
Contributed by: sammaffei
You can easliy change between gcc 2.x and gcc 3.x compilers via the Terminal by using gcc_select:
- Make sure that '/usr/sbin' is in your path.
- Get 'root' access (sudo or su).
- To switch to gcc 2.x enter "gcc_select 2".
- To switch to gcc 3.x enter "gcc_select 3".
Use gcc_select with no options to find out which compiler is currently active (doesn't require root access).
Comments (0)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020902075330937