This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Mac OS X: sudo gcc_select 4.0: Error trying to determine current cc version (got )
- From: st w <weishutin at yahoo dot com dot cn>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 30 Sep 2006 01:35:55 +0800 (CST)
- Subject: Mac OS X: sudo gcc_select 4.0: Error trying to determine current cc version (got )
Dear all,
I got a problem for gcc installation. I installed
gcc-4.0.pkg from Mac OS X Install DVD. When i type
:~ root# sudo gcc_select 4.0
Error trying to determine current cc version (got )
so i type
:~ root# ls -l /usr/bin/*++*
lrwxr-xr-x 1 root wheel 7 Jan 1 1970
/usr/bin/c++ -> g++-3.3
-rwxr-xr-x 1 root wheel 39524 Mar 20 2005
/usr/bin/c++-4.0
-rwxr-xr-x 1 root wheel 351836 Aug 21 2005
/usr/bin/c++filt
lrwxr-xr-x 1 root wheel 4 Jan 1 1970
/usr/bin/flex++ -> flex
lrwxr-xr-x 1 root wheel 7 Jan 1 1970
/usr/bin/g++ -> g++-3.3
-rwxr-xr-x 1 root wheel 39524 Mar 20 2005
/usr/bin/g++-4.0
lrwxr-xr-x 1 root wheel 3 Jan 1 1970
/usr/bin/lex++ -> lex
-rwxr-xr-x 1 root wheel 143636 Mar 20 2005
/usr/bin/powerpc-apple-darwin8-g++-4.0.0
:~ root# ls -l /usr/bin/*cc*
lrwxr-xr-x 1 root wheel 7 Jan 1 1970
/usr/bin/cc -> gcc-3.3
-rwxr-xr-x 1 root wheel 69280 Mar 20 2005
/usr/bin/distcc
-rwxr-xr-x 1 root wheel 92260 Mar 20 2005
/usr/bin/distccd
-rwxr-xr-x 1 root wheel 100904 Mar 20 2005
/usr/bin/distccschedd
lrwxr-xr-x 1 root wheel 7 Jan 1 1970
/usr/bin/gcc -> gcc-3.3
-rwxr-xr-x 1 root wheel 39524 Mar 20 2005
/usr/bin/gcc-4.0
-rwxr-xr-x 1 root wheel 17953 Aug 21 2005
/usr/bin/perlcc
-rwxr-xr-x 1 root wheel 139540 Mar 20 2005
/usr/bin/powerpc-apple-darwin8-gcc-4.0.0
-rwxr-xr-x 1 root wheel 1451044 Aug 22 2005
/usr/bin/rpcclient
-r-xr-xr-x 1 root wheel 80352 Mar 20 2005
/usr/bin/yacc
That indicates all cc/gcc/.. are linked to gcc-3.3,
how can i get gcc in correct version? Any idea?
Thanks a lot!
Shuting
___________________________________________________________
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer