> > - in the program file stops the error. > > > > I assume this lets the lib use the C routines, and > > the FreePascal side can still use its own. > > All bindings that bind to a C library need to include {$linklib c}. When > it is not there it is a bug in the binding. The {$linklib c} is required > to let fpc know that it needs to use special startup code.
It is better to include unit initc though, then including {$linklib c} _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal