>> The name of the switch is misleading. See:
>> ---
>>                                -LINKING-
>> /LD Create .DLL                         /LDd Create .DLL debug library
>> /LN Create a .netmodule                 /F<num> set stack size
>> /link [linker options and libraries]    /MD link with MSVCRT.LIB
>> /MT link with LIBCMT.LIB                /MDd link with MSVCRTD.LIB debug lib
>> /MTd link with LIBCMTD.LIB debug lib    
>> ---
>> It controls whether to link with static (LIBCMT) or dynamic 
>> (MSVCRT) CRTL. Default being static, at least with MSVC 2008.
> 
> After reading above description it's still not clear for me.
> I believe that you are right and LIBCMT.LIB provides exactly
> the same function set as as MSVCRT.LIB so they are mutual
> exclusive and there is no alternative LIBC*.LIB library in MSVC
> for which this switch was designed /MT[d] switch could be used
> but I would like you will confirm it if it's not a problem.

Here is the list of libs which come with VC2008 (to be precise 
with SDK 7, but this details should be the same for these two 
packages):

---
 Directory of C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib

2008.07.29.  04:29           419 512 comsupp.lib
2008.07.29.  04:29           435 400 comsuppd.lib
2008.07.29.  04:29           419 296 comsuppw.lib
2008.07.29.  04:29           435 194 comsuppwd.lib
2008.07.29.  03:50            63 234 delayimp.lib
2008.07.29.  03:49         9 212 896 libcmt.lib
2008.07.29.  03:49        11 359 254 libcmtd.lib
2008.07.29.  03:49         5 349 850 libcpmt.lib
2008.07.29.  03:49         6 781 174 libcpmtd.lib
2008.07.29.  03:49         1 529 748 msvcmrt.lib
2008.07.29.  03:49         1 625 954 msvcmrtd.lib
2008.07.29.  03:49         1 654 512 msvcprt.lib
2008.07.29.  03:49         1 827 178 msvcprtd.lib
2008.07.29.  03:49         1 359 994 msvcrt.lib
2008.07.29.  03:49         1 392 914 msvcrtd.lib
2008.07.29.  03:49        15 375 270 msvcurt.lib
2008.07.29.  03:49        16 952 200 msvcurtd.lib
2008.07.29.  03:50           101 414 oldnames.lib
2004.03.07.  14:58            17 576 opends60.lib
2008.07.29.  03:50             4 904 pgobootrun.lib
2008.07.29.  03:50            27 706 pgort.lib
2008.07.29.  03:49           426 506 ptrustm.lib
2008.07.29.  03:49           433 686 ptrustmd.lib
2008.07.29.  03:49           426 506 ptrustu.lib
2008.07.29.  03:49           433 686 ptrustud.lib
2008.07.29.  03:49           485 034 RunTmChk.lib
2008.07.29.  04:44            28 446 vcomp.lib
2008.07.29.  04:44            28 574 vcompd.lib
              28 File(s)     78 607 618 bytes
               0 Dir(s)  31 151 144 960 bytes free
---

Please tell me if this gave answer to your question.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to