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

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

Problem solved. Thanks.

On May 17, 2010, at 12:34 PM, Paul S. Nerenberg wrote:

> Erik,
>
> Did you download the gcc_select program with macports? It will allow you to switch the linking (i.e., the symbolic link /usr/bin/gcc) to the appropriate compilers, which *should* help out in this situation (provided that the compilers/libraries are otherwise installed correctly). If not, try the following:
>
> (1) sudo port install gcc_select
> (2) gcc_select -l (this shows a list of installed compilers)
> (3) sudo gcc_select mp-gcc44 (or whatever your gcc 4.4 install is called...you should see it on the list printed out by command #2)
> (4) gcc -v and gfortran -v to verify
>
> Best,
>
> Paul
>
>
> On May 17, 2010, at 8:57 AM, erik zuiderweg wrote:
>
>> 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?
>>
>>
>> <all_gcc.txt>
>>
>>
>> _______________________________________________
>> AMBER mailing list
>> AMBER.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
>


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