Re: PROGRESS! [AMBER] installation on MacOS10.6

From: erik zuiderweg <zuiderwe.umich.edu>
Date: Mon, 17 May 2010 11:57:26 -0400

the gcc -v command gives me the wrong compiler:

which gcc
/usr/bin/gcc


erikzuiderweg% gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5659)



gfortran is OK

gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.5-20100107/configure --enable-languages=fortran --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 : (reconfigured) ../gcc-4.5-20100107/configure --enable-languages=fortran,c++ --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10
Thread model: posix
gcc version 4.5.0 20100107 (experimental) (GCC)







I now have too many gcc compilers on my Mac now.

Do you know a good way to get rid of them?

The attached file shows where the executables all are, and I could easily remove them all.
But I worry about libraries and include files. How do I get rid of those?




./Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/documentation/DeveloperTools/gcc-4.0.1/gcc
./Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/documentation/DeveloperTools/gcc-4.2.1/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/arm-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/arm-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/arm-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/arm-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/arm-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/include/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/usr/include/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/usr/include/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk/usr/include/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk/usr/lib/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/gcc
./Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/gcc
./Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
./Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
./Developer/SDKs/MacOSX10.5.sdk/Developer/usr/llvm-gcc-4.2/include/gcc
./Developer/SDKs/MacOSX10.5.sdk/Developer/usr/llvm-gcc-4.2/lib/gcc
./Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc
./Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc
./Developer/SDKs/MacOSX10.6.sdk/Developer/usr/llvm-gcc-4.2/include/gcc
./Developer/SDKs/MacOSX10.6.sdk/Developer/usr/llvm-gcc-4.2/lib/gcc
./Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc
./Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc
./Developer/usr/bin/gcc
./Developer/usr/include/gcc
./Developer/usr/lib/gcc
./Developer/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/gcc
./Developer/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./Developer/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Developer/usr/lib/gcc/powerpc-apple-darwin10/4.0.1/include/gcc
./Developer/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./Developer/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Developer/usr/libexec/gcc
./Developer/usr/llvm-gcc-4.2/include/gcc
./Developer/usr/llvm-gcc-4.2/lib/gcc
./Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./Developer/usr/llvm-gcc-4.2/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./Developer/usr/llvm-gcc-4.2/libexec/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/documentation/DeveloperTools/gcc-4.0.1/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.docset/Contents/Resources/Documents/documentation/DeveloperTools/gcc-4.2.1/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.5.sdk/Developer/usr/llvm-gcc-4.2/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.5.sdk/Developer/usr/llvm-gcc-4.2/lib/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/bin/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/lib/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/libexec/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/llvm-gcc-4.2/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/llvm-gcc-4.2/lib/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/llvm-gcc-4.2/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/Developer/usr/llvm-gcc-4.2/libexec/gcc
./Previous Systems.localized/2010-01-21_0729/usr/bin/gcc
./Previous Systems.localized/2010-01-21_0729/usr/include/gcc
./Previous Systems.localized/2010-01-21_0729/usr/lib/gcc
./Previous Systems.localized/2010-01-21_0729/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/gcc
./Previous Systems.localized/2010-01-21_0729/usr/libexec/gcc
./Previous Systems.localized/2010-01-21_0729/usr/local/lib/gcc
./Previous Systems.localized/2010-01-21_0729/usr/local/lib/gcc/i386-apple-darwin9.4.0/4.4.0/include-fixed/gcc
./Previous Systems.localized/2010-01-21_0729/usr/local/lib/gcc/i386-apple-darwin9.5.0/4.4.0/include-fixed/gcc
./Previous Systems.localized/2010-01-21_0729/usr/local/libexec/gcc
./Users/erikzuiderweg/dot2dist.all.20080403/mpich/mpich-1.2.7p1/mpid/ch_nt/nt_ipvishm/include/gcc
./Users/erikzuiderweg/Downloads/dot2dist.all.20080403 2/mpich/mpich-1.2.7p1/mpid/ch_nt/nt_ipvishm/include/gcc
./Users/erikzuiderweg/Downloads/gcc-4.4.2/gcc
./Users/erikzuiderweg/Downloads/gcc-4.4.2/gcc/testsuite/ada/acats/tests/gcc
./Users/erikzuiderweg/Downloads/gcc-4.4.2 2/gcc
./Users/erikzuiderweg/Downloads/gcc-4.4.2 2/gcc/testsuite/ada/acats/tests/gcc
./usr/bin/gcc
./usr/include/gcc
./usr/lib/gcc
./usr/lib/gcc/i686-apple-darwin10/4.0.1/include/gcc
./usr/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./usr/lib/gcc/powerpc-apple-darwin10/4.0.1/include/gcc
./usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./usr/libexec/gcc
./usr/llvm-gcc-4.2/include/gcc
./usr/llvm-gcc-4.2/lib/gcc
./usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include/gcc
./usr/llvm-gcc-4.2/lib/gcc/powerpc-apple-darwin10/4.2.1/include/gcc
./usr/llvm-gcc-4.2/libexec/gcc
./usr/local/amber11/AmberTools/src/gleap/freelib/boost/mpl/aux_/preprocessed/gcc
./usr/local/bin/gcc
./usr/local/lib/gcc
./usr/local/lib/gcc/x86_64-apple-darwin10/4.5.0/include-fixed/gcc
./usr/local/libexec/gcc
./usr/share/file/magic/gcc
./usr/share/TargetConfigs/bin/gcc
./Xcode2.5/ADC Reference Library/documentation/DeveloperTools/gcc-4.0.1/gcc
./Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/include/gcc
./Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
./Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/gcc
./Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/gcc
./Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/gcc
./Xcode2.5/usr/bin/gcc
./Xcode2.5/usr/include/gcc
./Xcode2.5/usr/lib/gcc
./Xcode2.5/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/gcc
./Xcode2.5/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/gcc
./Xcode2.5/usr/libexec/gcc







_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon May 17 2010 - 09:00:03 PDT
Custom Search