Skip to Content.
Sympa Menu

freetds - Re: [freetds] mingw cross compilation (Frediano Ziglio)

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: Re: [freetds] mingw cross compilation (Frediano Ziglio)
  • Date: Sun, 11 Jan 2009 17:02:16 -0600

Thomas Stover wrote:
Date: Sun, 11 Jan 2009 14:06:51 +0100

5) For google search posterity sake, kids try something like:

PATH=$PATH:/path/to/your/toolchain/bin ./configure --host=toolchain_prefix
(where "toolchain_prefix" is the part of the filenames (not including the '-') like toolchain-prefix-gcc and toolchanin-prefix-g++)
PATH=$PATH:/path/to/your/toolchain/bin make

Also once back over in windows, set your FREETDS environment variable to the directory containing freetds.conf.

Oh I forgot. Although this maybe obvious to some, it took some head scratching for me. You have to initialize winsock!! Also add the library for winsock when building so "-lsysbdb -lws2_32".








Archive powered by MHonArc 2.6.24.

Top of Page