digitalmars.D.learn - Re: How to create shared library on linux?
- Li Jie <cpunion gmail.com> Aug 13 2006
On linux, DMD uses GCC as its linker so you'd just do something like...
dmd file.d -L-ltest
If I remember correctly. Or
dmd -c file.d gcc file.o -o file -ltest
Thanks, it is right. I will try gdc to create shared library.
Aug 13 2006