<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1250">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [fpc-pascal]mysql on windows</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Yes it's v1.5</FONT>
</P>
<P><FONT SIZE=2>{ $Id: mysql.pp,v 1.5 2001/03/13 08:50:38 michael Exp $ }</FONT>
</P>
<P><FONT SIZE=2>and contains</FONT>
</P>
<P><FONT SIZE=2>{$ifdef win32}</FONT>
<BR><FONT SIZE=2>Const mysqllib = 'libmysql';</FONT>
<BR><FONT SIZE=2>{$else}</FONT>
<BR><FONT SIZE=2>Const mysqllib = 'mysqlclient';</FONT>
<BR><FONT SIZE=2>{$endif}</FONT>
</P>
<P><FONT SIZE=2>{$ifndef win32}</FONT>
<BR><FONT SIZE=2>{$linklib c}</FONT>
<BR><FONT SIZE=2>{$linklib m}</FONT>
<BR><FONT SIZE=2>{$endif}</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Peter Vreman [<A HREF="mailto:peter@freepascal.org">mailto:peter@freepascal.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, May 31, 2001 2:35 PM</FONT>
<BR><FONT SIZE=2>To: fpc-pascal@deadlock.et.tudelft.nl</FONT>
<BR><FONT SIZE=2>Subject: RE: [fpc-pascal]mysql on windows</FONT>
</P>
<BR>
<P><FONT SIZE=2>> I'm using v1.1 of compiler... but erasing last INPUT() from link.res helps,</FONT>
<BR><FONT SIZE=2>> anyway I don't understand why :)</FONT>
</P>
<P><FONT SIZE=2>Which revision of the mysql.pp do you have? 1.5 is the correct version, it contains the</FONT>
<BR><FONT SIZE=2>next lines:</FONT>
</P>
<P><FONT SIZE=2>{$ifndef win32}</FONT>
<BR><FONT SIZE=2>{$linklib c}</FONT>
<BR><FONT SIZE=2>{$linklib m}</FONT>
<BR><FONT SIZE=2>{$endif}</FONT>
</P>
<P><FONT SIZE=2>this will result in not having the -lc and -lm in the link.res</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>fpc-pascal maillist - fpc-pascal@lists.freepascal.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" TARGET="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</A></FONT>
</P>
</BODY>
</HTML>