[plt-scheme] MySql Library

From: Gordon Weakliem (gweakliem at oddpost.com)
Date: Fri Jul 30 13:57:52 EDT 2004

Assuming that you've set your environment with setenv.bat that comes with the MS SDK, and compiling from C:\Program Files\PLT\collects: 
..\mzc --auto-dir ++ldf c:\mysql\lib\opt\mysqlclient.lib ++ldl d:\mysql\lib\opt\mysqlclient.lib ++ldl WSock32.Lib ++ldl AdvAPI32.Lib ++ccf -Ic:\mysql\include ++ccf -D__LCC__  mysqlclient\mysqlclient.ss 
Will compile a dll that mzscheme will load, and appears to work.  All the testing I've done is to do a real_connect and then verify that (num-rows (list-dbs connect "_")) returns the right thing. 
Gordon Weakliem 
-----Original Message from Bruce <bcollins at austarnet.com.au>-----
For list-related administrative tasks: 

I wish to use David Van Horn's MySql 
Client Library on a Windows PC. 
Any help with the relevant Windows 
form of the following would be appreciated: 

mzc --auto-dir ++ldf /usr/lib/libmysqlclient.so.10 \ 
                       ++ccf -I/usr/include/mysql/ 

Posted on the users mailing list.