DLL Linking

vermi moi_anti_spam_ at vermi.fr
Tue Jun 19 11:39:59 PDT 2007


I have onen, here it is :

LIBRARY		V4D
EXETYPE		NT
SUBSYSTEM	WINDOWS
CODE		PRELOAD SHARED EXECUTE DISCARDABLE
DATA		PRELOAD SINGLE WRITE


It appears on the command line :
dmd.exe -ofbin\Release\V4D.dll V4D.def obj\Release\main.obj  phobos.lib
( this is the executed command line )
dmd.exe call then :
link obj\Release\main,bin\Release\V4D.dll,,phobos.lib+user32+kernel32,V4D.def/noi;

Has you can see, the .def file appears in both command lines.


More information about the Digitalmars-d-learn mailing list