On Dec 13, 2007, at 6:01 PM, Brian W. Barrett wrote:
> But it is easy for OPen MPI to figure out whether it's statically or
> dynamically linked, as libtool compiles the code twice if building
> both
> static and shared and you could poke at #defines to figure out what's
> going on -- easy enough to deal with. I just don't think we should be
> doing so :).
I agree.
But FWIW: how do you do this in the "--enable-static --enable-shared"
case? I couldn't think of how to do a different #define for two
different compiles of the same source file without significant hackery.
--
Jeff Squyres
Cisco Systems
|