> Here is some MS docs:
>   http://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx
> 
> With MSVC 2008 there is NO difference between no option 
> and /MT, and '_MT' macro is always defined. This means in 2008, 
> MT mode is always enabled. Slightly different code is generated 
> with /MD and /MDd, and 
> 
> --- test.bat
> call vc cl -I..\..\include -c hbstr.c      -FoM__
> rem   _MT defined, links to LIBCMT.lib
> 
> call vc cl -I..\..\include -c hbstr.c -MT  -FoMT_
> rem   _MT defined, links to LIBCMT.lib
> 
> call vc cl -I..\..\include -c hbstr.c -MTd -FoMTd
> rem   _MT defined, links to LIBCMTD.lib
> 
> call vc cl -I..\..\include -c hbstr.c -MD  -FoMD_
> rem   _MT defined, links to MSVCRT.lib
> 
> call vc cl -I..\..\include -c hbstr.c -MDd -FoMDd
> rem   _MT defined, links to MSVCRTD.lib
> ---
> 
> This should be checked for older versions, 2005 and 
> maybe .NET 2003, .NET, maybe 6.0 if someone still 
> has it.

Here's the docs for .NET 2003:
http://msdn.microsoft.com/en-us/library/abx4dbyh(VS.71).aspx

I'd guess that 2005 behaves exactly like 2008, 
and 2003 behaves like .NET 2003, maybe also 6.0.

This means it would be better to readd /MT switch 
for older versions to link with MT CRT.

Any thoughts?

Brgds,
Viktor

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

Reply via email to