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

2009-12-11 Thread Jonas Maebe
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,

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

2009-12-11 Thread Matthias Klumpp
On Fri, 11 Dec 2009 15:48:49 +0100, Jonas Maebe jonas.ma...@elis.ugent.be wrote: 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

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

2009-12-10 Thread Matthias Klumpp
Hello! 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