Skip to Content.
Sympa Menu

freetds - Re: [freetds] Windows ODBC Driver

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John Kendall <john AT capps.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Windows ODBC Driver
  • Date: Wed, 18 May 2011 11:32:27 -0700

Thanks Dave.
After posting, I did a little more research, and within 15 minutes I was done.
Funny how that happens.

What I did was install Mingw, then:

$ export PATH=/usr/local/i386-mingw32-4.3.0/bin/:$PATH
$ ./configure --host=i386-mingw32
$ make
$ ls -l src/odbc/.libs/libtdsodbc-0.dll
-rwxr-xr-x 1 john staff 376320 May 18 01:36 src/odbc/.libs/libtdsodbc-0.dll

Ta Da!

Thanks everyone. TDS is an awesome project.
John



On May 18, 2011, at 3:58 AM, David Savelski wrote:

> devcpp -> http://www.bloodshed.net/devcpp.html
>
> On Wed, May 18, 2011 at 11:12 AM, John Kendall <john AT capps.com> wrote:
>
>>
>> I've used the Windows ODBC driver Installer on:
>>
>> http://freetds.sourceforge.net
>>
>> with great success. It installs a 0.64 driver, so I wanted to look into
>> compiling my own with the latest source.
>>
>> My problem is that I develop on a Mac. I don't have access to a Windows
>> machine with a compiler.
>>
>> So: can I, using only freely and legally downloadable tools, cross-compile
>> and create a Windows ODBC driver like the one the installer above installs
>> on my Mac (Intel). (I've already build the Mac ODBC drivers--easy!)
>>
>> Or if I were to borrow a Windows machine, what tools (free ones) would
>> people recommend I load on it to do it?
>>
>> I'd really rather do this on the Mac if it's doable.
>>
>> I apologize if this has been answered many times before, I *did* read
>> the archives for about two hours before posting.
>>
>> Many thanks,
>> John
>>
>>
>>
>>
>> _______________________________________________
>> FreeTDS mailing list
>> FreeTDS AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page