[MOAB-dev] Problems with mixed-language linking [Was: Re: [Fathom] Problems building Lasso]

Robert Smith smithrm at mcs.anl.gov
Mon Jan 18 10:19:12 CST 2010


I agree.  The shared library approach seem to be the most current and  
will not be as error prone for the user.

--Bob
On Jan 17, 2010, at 1:31 AM, James Porter wrote:

> My inclination is to use #3 (shared libraries). Aside from the fact  
> that
> it makes the default configuration work with the Python bindings,  
> which
> makes me happy, it also eliminates most of the problems without
> requiring user intervention. Forcing people to use a C++-aware linker
> seems prone to confusion and would also probably have the side  
> effect of
> making it harder to use other linkers (e.g. gold). Trying to hard-code
> the C++ standard libraries is brittle and that solution almost  
> certainly
> doesn't work everywhere; I think the main reason it works on Linux is
> because GCC shares a lot of code for its C and C++ compilers.
>
> - Jim
>



More information about the moab-dev mailing list