[fpc-pascal] DLL and Shared Libs in FPC

Dominique Leducq dleducq at magellan-ing.fr
Mon Aug 7 13:57:04 CEST 2006


Felipe Monteiro de Carvalho a écrit :
> On 8/6/06, Jason P Sage <jasonpsage at jegas.org> wrote:
>> I have read some things here and there, but can anyone simply tell me 
>> if its
>> now possible to write DLL's and Linux Shared Libraries with FPC now?
> 
> I think this has being supported for a long time now. At least FPC
> 2.0.2 can build libraries without any problems.
> 

I tried that with FPC 2.0.2 too, and it worked fine for win32 and 
linux-i386 (32 bits), but not for linux-x86_64, there was a problem with 
generating PIC (Position Independent Code). It worked with FPC 2.1.1 
(devel branch), though. I didn't give a try at FPC 2.0.4 yet, so I don't 
know...

Dominique





More information about the fpc-pascal mailing list