On 14/10/14 08:11, Sergey wrote:

Wrong, I need to have:
$ dmd test_tds_connect.d tds.d

You can use "rdmd" to compile and run an application:

$ rdmd test_tds_connect.d

It will automatically find all (D) dependencies for "test_tds_connect" and compile those as well. But you still need to link with the C library, as in the C example.

$ rdmd -L-lsybdb test_tds_connect.d

"-L" is the linker flag.

--
/Jacob Carlborg

Reply via email to