freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how
- Date: Sat, 14 Mar 2009 20:47:29 +0100
2009/3/12 Gal Rubinstein <galrub AT gmail.com>:
> just wanted you all to know that I was able to overcome the noobie challenge
> of creating dblib.dll
> using Dev-C++, here is how:
>
>
> 1. the FreeTDS comes with a dev-c++ project that uses the
> \freetds\win32\FreeTDS.def file for export, but the file is missing more
> then a few symbols, such as: tdsdump_log, tds_strlcpy, tds_set_bulk,
> vasprintf, etc. so I added them and rebuilded... the only thing that is
> bothering is that the are alot of warning on compile time, indicating
> redfining of vars...
> 2. created a new Dev-C++ DLL project, mamed dblib..
> 3. added to include folders: 'freetds\include' and 'freetds\win32\'/
> 4. added to library path: 'freetds\win32\dev-cpp'.
> 5. on c/c++ compiler varibales added definition:
> '_FREETDS_LIBRARY_SOURCE' ('-D_FREETDS_LIBRARY_SOURCE).
> 6. on linker varibale added -lFreeTDS and chaged
> '--no-export-all-symbols' to '--export-all-symbols'.
The problem here is that your project should include libTDS files, not
link to FreeTDS.dll which is an ODBC driver and contains code you
don't need.
> 7. builded, got the dll, but again, bothring warning of var getting
> redefine.
>
> thats it,
> any ideas on these warnings? are the critical?
>
> thanks
I don't know... try to post them...
freddy77
-
[freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/12/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Frediano Ziglio, 03/14/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
- Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how, James K. Lowden, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Gal Rubinstein, 03/15/2009
-
Re: [freetds] Success in compiling FreeTDS.dll + dblib.dll using Dev-C++/Mingw.. this is how,
Frediano Ziglio, 03/14/2009
Archive powered by MHonArc 2.6.24.