Re: mingw cross compilation (Frediano Ziglio)

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