[freetds] building on Windows
pthurston at netegrate.com
Fri Dec 18 16:18:17 EST 2009
Building FreeTDS on Windows is quite a chore.
I recently did a successful native build in Windows 2008 and Vista
There are some code bugs in the build (particularly in the net.c file) which
don't handle Windoze socket initialization.
Minimally, you'll need a compiler, at least Visual Studio VC6 or above. I
I don't recommend gong the cygwin route. The performance hit is substantial.
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Craig A. Berry
Sent: Friday, December 18, 2009 3:14 PM
To: FreeTDS Development Group
Subject: Re: [freetds] building on Windows
On Dec 18, 2009, at 11:39 AM, Ryan Perry wrote:
> I'm using Strawberry perl on Windows to connect to MSSQL. On the
> machine I want to build on I don't think I have a compiler of any kind
> (maybe perl installed one?). I want to connect using DBD::Sybase, but
> I don't understand how to install FreeTDS on Windows (I usually live
> in unix land). Some guidance would be much appreciated...
I'm pretty sure recent versions come with gcc via mingw, though the
home page at <http://strawberryperl.com/> is rather devoid of actual
information about what's in it. I would say try to get to a shell
prompt, pretend it's not Windows, and see what blows up. Apparently
it comes with DBD::ODBC, so that may be another option if DBD::Sybase
proves troublesome (but you'd still need FreeTDS's driver).
Craig A. Berry
mailto:craigberry at mac.com
"... getting out of a sonnet is much more
difficult than getting in."
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
More information about the FreeTDS