February 06, 2008
I have a question on how to link to D.
I have tried to make a small test example, which contain.
  main.c
  dclass.h
  dclass.d
I compile those files by
>  dmd -c dclass.d
>  g++ -L../../dmd/lib -lphobos2 -lstdc++ main.o dclass.o
And this of cause doesn't work.

I can not if information anywhere how to do this.
Dose someone know how to do this?
PS The test example is attached as a tgz