D - linking c++ and D together
- cbr <cr silicide.dk> Feb 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 bydmd -c dclass.d g++ -L../../dmd/lib -lphobos2 -lstdc++ main.o dclass.o
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
Feb 06 2008








cbr <cr silicide.dk>