www.digitalmars.com         C & C++   DMDScript  

D - Creating DLLs

reply "Lars Ivar Igesund" <larsivi stud.ntnu.no> writes:
Hi

It seems to me that it is unnecessary complicated/much work
to create dlls, at least when compared to gcc. With gcc, the
switch -shared is enough to create dlls.

My opinion is that as long as one don't need a specialized
dllMain, the programmer can omit it and the compiler adds
one by itself (when the -shared switch is used). Also, I don't
understand the need for a def file. All exported symbols are
specified by the export keyword (right?).

digc already does it this way, but I don't want to rely on
another tool to be able to use dmd.

Lars Ivar Igesund
Sep 08 2003
parent Ilya Minkov <minkov cs.tum.edu> writes:
Lars Ivar Igesund wrote:
 digc already does it this way, but I don't want to rely on
 another tool to be able to use dmd.

Digc is a prototype for features which are going to make it into compiler someday. But now, there's simpy too much to be done. -eye
Sep 08 2003