Skip to Content.
Sympa Menu

freetds - Re: Question on CTLIB and DBLIB

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Devin" <devin AT aiyowei.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Question on CTLIB and DBLIB
  • Date: Mon, 11 Jun 2001 00:03:30 -0400


> libtds is linked into libct, libsybdb, and libtdsodbc (for ct-lib, dblib,
> and ODBC respectively). So, you can compile libtds as standalone and use
> it to run some unittests, but it doesn't get you much. What you really
> want is to compile one of the libraries (depending on exactly what you're
> trying to do) and include the object files from libtds. Or even just
> reference libtds.dll from the other (windows....export file is
> it?).
>
> The reason we did it this way is 1) linking to a single lib is much easier
> for the application side of things and 2) compatibility with dblib
> programs that knew only about libsybdb.a
>
> Hope this clears things up a bit,
>
>
> Brian


Ok thanks Brian, and thanks Bob Kline. I have now figured out how most of
the source code layout. I've got a working dll and import library for the
mingw compiler and I have successfully compiled all of the unitests so I'm
going to try them out tomarrow and see how everything works.

Thanks,

Devin.




Archive powered by MHonArc 2.6.24.

Top of Page