[fpc-pascal]mysql on windows

Kanzelsberger Pavel kanzelsberger at rekt.umb.sk
Thu May 31 14:53:01 CEST 2001


Yes it's v1.5

{ $Id: mysql.pp,v 1.5 2001/03/13 08:50:38 michael Exp $ }

and contains

{$ifdef win32}
Const mysqllib = 'libmysql';
{$else}
Const mysqllib = 'mysqlclient';
{$endif}

{$ifndef win32}
{$linklib c}
{$linklib m}
{$endif}

-----Original Message-----
From: Peter Vreman [mailto:peter at freepascal.org]
Sent: Thursday, May 31, 2001 2:35 PM
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: RE: [fpc-pascal]mysql on windows


> I'm using v1.1 of compiler... but erasing last INPUT() from link.res
helps,
> anyway I don't understand why :)

Which revision of the mysql.pp do you have? 1.5 is the correct version, it
contains the
next lines:

{$ifndef win32}
{$linklib c}
{$linklib m}
{$endif}

this will result in not having the -lc and -lm in the link.res




_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20010531/d0919a25/attachment.html>


More information about the fpc-pascal mailing list