[fpc-pascal] Make Pascal library usable for C (on Linux)

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Dec 11 15:48:49 CET 2009

On 10 Dec 2009, at 20:27, Matthias Klumpp wrote:

> I write C-headers for a library written in Pascal at time, to make it
> usable within C applications.
> On Linux, the libtool-program (part of GNU autotools) generates the
> necessary files for C-compilers to link against the library  
> (libxyz.la,
> libxyz.a, libxyz.pc)
> How can I use libtool for Pascal libraries or is there an  
> alternative way
> to get the libtool-comfort with Pascal?

I think you better ask that on a libtool mailing list. I have no idea  
what libtool requires from a compiler, how it determines what to put  
in those .la and .pc files, etc. There is no explicit libtool support  
in FPC, and I've never seen any patches that add it.


More information about the fpc-pascal mailing list