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

James Porter jvporter at wisc.edu
Sun Jan 17 01:31:19 CST 2010


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