rails-sqlserver / tiny_tds

TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
Other
606 stars 190 forks source link

Tiny_tds fat binary gem (mingw-x64/ Windows) dependency questions #500

Open senolfeldmann opened 3 years ago

senolfeldmann commented 3 years ago

I have a question about tiny_tds. Does anyone know if the the various .exe binaries which are shipped in the fat binary gem version (mingw-x64 / CRuby on Windows) of tiny_tds are really needed for tiny_tds to be able to operate? My takeaway from reading the various rake files is that only some libs are needed. For me, iconv.exe in C:\Ruby27-x64\lib\ruby\gems\2.7.0\gems\tiny_tds-2.1.5-x64-mingw32\ports\x86_64-w64-mingw32\libiconv\1.15\bin is especially important, as it is licensed under GPL and I want to use activerecord-sqlserver-adapter (and thus tiny_tds as it is a dependency) commercially.

And what about the .exe binaries of freetds: bsqldb.exe, datacopy.exe, defncopy.exe, freebcp.exe, tdspool.exe and tsql.exe, are they needed or can I delete them from my system?