linking with c

Jason House jason.james.house at gmail.com
Sat Jan 10 14:47:35 PST 2009


Mike wrote:

> So I'm trying to link a C file to be used in a D program: 
> I compile the C file with dmc: dmc -c hw.c
> and the D file with dmd: dmd -c hw_main.d

I usually keep it simple and do: dmd main.d hw.obj



More information about the Digitalmars-d-learn mailing list