D2 (Debian) + MSSQL
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 13 23:34:36 PDT 2014
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
More information about the Digitalmars-d
mailing list