Am 02.04.2011 23:54, schrieb William A. Rowe Jr.:
> When the compiler has the insight that it is binding against relocatable,
> loadable sections, it has a chance to change all references to a vtable
> in mutable heap, and leave the actual binary images alone. Failure to do
> this for data pointers is usually lethal.
>
> The inverse of what you suggest, compiling it all export whether it will be
> used statically or dynamically works out a bit better, but it's still worth
> performing two compilations.
and that cant be forced by compiler switches like -fPIC and -msep-data ?
Gün.
|