win64 dll shared library

Thomas Stover <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
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.