[fpc-pascal]Shared Libraries
Peter Vreman
peter at freepascal.org
Fri Aug 29 18:58:54 CEST 2003
> I am looking foward into the development of a potentially large project
> using FPC, but this project will require the development and dynamic
> linking
> of shared libraries, when looking the site docs, I saw it was not
> recommended to make shared libraries with FPC, although the Programmer´s
> Manual treat the subject as if it was quite straightfoward... so I got
> pretty confused.... any thoughts?
>
> I will need to both create the libraries and link to them at runtime
> without
> knowing them at design time, like the win32 LoadLibrary(filename)
> function,
> but I would need a multiplatform solution...
Shared libraries are currently only support on win32. The Unix shared
libraries require Position Independent Code (PIC) support which is not
available yet. Before we can start adding PIC support we need to have the
new register allocator (currently in development) fully working.
Peter
More information about the fpc-pascal
mailing list