On Mon, Aug 21, 2006 at 07:20:21PM +0200, Mattias Gaertner wrote:
> > An custom program doesn't link to c.
>
> You can add
> {$linklib c}
but you _should_
Uses InitC;
and define the function as
function j0(x:double):double;cdecl;external clib;
which abstracts the name of libc and takes care of possible dependancies of
libc.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives