[Dune] [Dune-Commit] dune-common r5013 - trunk/m4
Christian Engwer
christi at uni-hd.de
Mon Nov 19 22:06:04 CET 2007
> > For alugrid (and c++ libs in general) it will never be too easy to
> > accomplish this. I think the easiest way is, if the lib contains a 'C'
> > symbol (could oyu check for the alu-version... how is it stored? as a
> > symbol? or as some define or enum?). All other symbols will be rather
> > difficult to check, because they are mangled. In this case you can
> > check for something like malloc. This will do a "can I find the lib
> > with this name" test, but not check whether the lib is correct. But
> > check ,,just'' the linking is already better than nothing.
>
> That is why now the check does simply check malloc, because the check
> for main does somehwo not work on PowerPC. I don't know why.
> Unfortunately ther are no such symbols you mentioned above. I tested all
> possible things. The ALUGrid Version is not stored in the lib.
OK. Thanks for the insights.
Christian
More information about the Dune
mailing list