Visual C++ Toolkit 2003 and multi-threaded runtime libraries

  • Thread starter =?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=
  • Start date
?

=?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=

Hello.

I gladly learned yesterday that Microsoft was making the Visual C++
Toolkit 2003 available for free. Today, I downloaded and installed it
and went on to try building some simple applications. I quickly found
out that the toolkit does not come with the multi-threaded versions of
the runtime, such as the one I needed to build a bare-bone SDL sample.
Does anyone know why they have chosen to not include them and if there
is anything one can do to cope with this problem and be able to build
applications that require MT runtime?

Thank you,
 
C

Carl Daniel [VC++ MVP]

Ney said:
Hello.

I gladly learned yesterday that Microsoft was making the Visual C++
Toolkit 2003 available for free. Today, I downloaded and installed it
and went on to try building some simple applications. I quickly found
out that the toolkit does not come with the multi-threaded versions of
the runtime, such as the one I needed to build a bare-bone SDL sample.
Does anyone know why they have chosen to not include them and if there
is anything one can do to cope with this problem and be able to build
applications that require MT runtime?

Why didn't they include everything? Since they do plan to continue selling
Visual Studio, they couldn't just give you everything with the free tools.
The MT versions of the CRT, along with MFC and ATL didn't make the cut.
FWIW, I agree - I'd rather see them release it with the MT static CRT and
leave out the single threaded and DLL versions.

-cd
 
R

Ronald Laeremans [MSFT]

Hi,

See the console output I pasted in below. The VC toolkit does support /MT
(it does not support /MD).

Ronald Laeremans
Visual C++ team
Setting environment for using Microsoft Visual C++ 2003 Toolkit.
(If you have another version of Visual Studio or Visual C++ installed and
wish
to use its tools from the command line, run vcvars32.bat for that version.)

Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
building the code samples included in the "Samples" directory. Each sample
includes a short whitepaper discussing the Visual C++ features, and a batch
file for building the code.

Type "cl /?" for brief documentaion on compiler options.

Visit http://msdn.microsoft.com/visualc/using/documentation/default.aspx for
complete compiler documentation.

C:\Program Files\Microsoft Visual C++ Toolkit 2003>cd\tmp

C:\tmp>notepad t.cpp

C:\tmp>cl /MT t.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3052 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

t.cpp
Microsoft (R) Incremental Linker Version 7.10.3052
Copyright (C) Microsoft Corporation. All rights reserved.

/out:t.exe
t.obj

C:\tmp>t

C:\tmp>
<<<<<
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top