|
From: | Nelson Lau |
Subject: | make dll under win2k |
Date: | Mon, 19 Aug 2002 09:42:24 -0400 |
Hi,
I have try to make an dll using gnu make 3.79.1. when I tried to link the dll file with te following command
d:>make
link.exe /debug /dll /out:libutil.dll /def:libutil.def /NOLOGO /NODEFAULTLIB libcmtd.lib oldnames.lib kernel32.lib LIBCPMT.LIB advapi32.lib user32.lib wsock32.lib mpr.lib netapi32.lib util.obj vm.obj data.obj read.obj system.obj
LINK : fatal error LNK1181: cannot open input file "libcmtd.lib"
make: *** [libagent.dll] Error 1181
I have tried to run the link.exe under command line, and link was successful under command.com.
Where
LIB=C:\Program Files\Microsoft Platform SDK\Lib\;C:\Program Files\Microsoft Visual Studio\VC98\LIB;C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
SHELL=d:\bin\sh.exe
The win32 environment is dowload from http://unxutils.sourceforge.net/
Thanks
Nelson
address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |