[fpc-devel] LinkLib Issues In Lazarus and in FPC-2.0.2

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jul 17 12:49:26 CEST 2006


On 17 Jul 2006, at 12:33, Jonas Maebe wrote:

>> There simply should be no reason
>> why you want such complexity. A library has a name, you link to it by
>> name, basta.
>
> A library

can

> also exist in at least multiple locations, versions (both ABI- 
> compatible and -incompatible with previous versions) and  
> implementations (e.g. a native Mac OS X GTK and an X-based one).

>> If people start renaming libraries we make us resistant to library  
>> name
>> changes. Otherwise the compiler needs to support a_config for  
>> library x
>> and b_config for package and the end is loose.
>
> The whole point of the *config stuff is exactly to be resistant  
> against that.

Against name changes of course. Supporting the multiple *config stuff  
could happen via a linklib-like statement in the unit sources.


Jonas



More information about the fpc-devel mailing list