On Apr 23, 2008, at 3:10 AM, Michael Mrejen wrote:
>
> The question is now, how can I tell the linker to choose one of the  
> gcc
> version available?

You need to compile and link everything with the same version of gcc  
and g++.  For example, suppose you have one version of cc installed as  
gcc-4.1, g++-4.1, and g77-4.1.  Then you can compile and link with  
these by using:

        ./configure CC=gcc-4.1 CXX=g++-4.1 F77=g77-4.1

Alternatively if you installed under the same names, you can set up  
your $PATH so that it prefers one version of gcc.  I suspect that you  
may have installed only g77 from a separate version of gcc; in that  
case you will want to install the rest of that version of gcc too  
(i.e. the C and C++ compilers).

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to