Date: 2001-06-05 08:06:07
>>>>> "David" == David Abrahams <abrahams_at_[hidden]> writes:
David> That's not the question.
David> The question is whether the static and shared versions should (need to)
David> share object files, under any circumstances.
Sorry, I guess I didn't understand your question.
You are asking if it's OK to build a shared lib and a static lib using
the same object files?
On most systems shared libs have to be built with PIC using -fpic.
So all objs in shared lib have to have -fpic.
Are you suggesting to build the static lib with the same objs? That
might work, but it would be pointless.
Have you looked at GNU libtool?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk