[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: readline, editline, sl and snprintf
I don't know about other platforms, but on Solaris you can use a link
edit map (and/or C #pragmas) to turn an otherwise global symbol into a
local one. This is very useful, if hackish, in situations like this
one. With this feature you can link all your libraries with their own
version of some function - not declared static in the source - and yet
avoid the multiple symbol definitions problem later.
On Thu, Jan 25, 2001 at 01:24:25PM +0100, Johan Danielsson wrote:
> The reason we do this is because we wanted the krb4 libraries to be
> `self contained', since we can't really expect people to change the
> `-lkrb -ldes' incantation. This required that we include the
> non-standard functions in these libraries, but in a renamed form.
> We never did the same with Heimdal, but some of this might have been
> included over time. We should somehow fix this, especially since the
> krb4 code has switched automake too, so we can't get by with different
> sets of makefiles anymore.
> None of these libraries should of course include functions by their
> real names.