By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,724 Members | 863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,724 IT Pros & Developers. It's quick & easy.

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

P: n/a
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,

--
Ney André de Mello Zunino
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ney André de Mello Zunino wrote:
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
Nov 17 '05 #2

P: n/a
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/us...n/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>
<<<<<
"Ney André de Mello Zunino" <zu****@inf.ufsc.br> wrote in message
news:2g************@uni-berlin.de... 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,

--
Ney André de Mello Zunino

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.