Skip to Content.
Sympa Menu

freetds - [freetds] win64 dll shared library

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Thomas Stover <thomas AT wsinnovations.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] win64 dll shared library
  • Date: Tue, 17 Aug 2010 16:34:42 -0500

I recently revisited cross compiling from linux to windows.

ubuntu 10.04 (mingw32 that comes in the repos) works just fine

$mkdir win32output
$./configure --host=i586-mingw32msvc --prefix=`pwd`/win32output
--enable-shared
$make
$make install
$ls win32output/bin/
bsqldb.exe bsqlodbc.exe datacopy.exe defncopy.exe freebcp.exe
libct-4.dll libsybdb-5.dll libtdsodbc-0.dll osql tdspool.exe tsql.exe

note that the dlls are created.

Now on ubuntu 10.04 (prebuilt mingw-w64 8/17/2010 from
mingw-w64.sourceforge.net)

$mkdir win64
$export PATH=$PATH:/home/thomas/mingw-w64-bin_i686-linux_20100817/bin
$./configure --host=x86_64-w64-mingw32 --prefix=`pwd`/win64
--enable-shared
$make
$make install
$ls win64/bin
bsqldb.exe bsqlodbc.exe datacopy.exe defncopy.exe freebcp.exe osql
tdspool.exe tsql.exe
$ls win64/lib
libct.a libct.la libsybdb.a libsybdb.la libtdsodbc.a libtdsodbc.la

No dlls are created. Is shared library / dll creation supported for win64?

--
www.thomasstover.com
NO CARRIER




Archive powered by MHonArc 2.6.24.

Top of Page