Re: Windows ODBC Driver

John Kendall <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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 <[email protected]> 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
>> [email protected]
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>> 
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.