Re: .ctor section of shared libraries with PathScale compiler

2007-04-26 Thread Ralf Wildenhues
Thanks Noah. I installed that, but changed the constant to be a #define in the header file. To ease Jeff's concerns about -shared: if libtool supports shared libraries for the system/compiler in question, then they will be preferred over static libs. So -shared is not needed in order for the tes

Re: .ctor section of shared libraries with PathScale compiler

2007-04-26 Thread Jeff Squyres
Noah -- Awesome; thanks! (you code is a bit simpler than mine, which is good) I think the only difference is that the C++ library must be a shared library. It will always work fine if the library is static. I saw some references in some of the other .at files that there is a way to figu