[fpc-pascal] Help needed with interfacing to C-object-files.
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Tue Mar 8 22:08:41 CET 2005
On Tue, 8 Mar 2005, Koenraad Lelong wrote:
> Marc Santhoff wrote:
> > Am Mo, den 07.03.2005 schrieb Koenraad Lelong um 22:36:
> >
> > > Hi,
> > > I'm trying to make an interface to a kind of library, but I'm stuck.
> > > Any pointers are welcome.
> > > There is a C-header file, but this is common for a number of
> > > C-modules. If I translate (h2pas) this file, and use it, the linker
> > > tries to find an o-file, which does not exist. Any suggestions how to
> > > handle this ?
You can simply change the resulting pascal file so it has the correct {$o }
statements ? h2pas does not know (and can not know) what the names of the
object files are. C does not work like that.
Michael.
More information about the fpc-pascal
mailing list