473,382 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

VC++ .NET 2003 Pro and VC++ Toolkit 2003: Optmizing code

Hi there
I'm switching from VC++ 6.0 to VC++ .NET 2003. Since there is no stand-alone
version of VC++ .NET 2003 Pro, I went and purchased the Standard version,
which does not have an optimizing compiler.

I have been made aware of the existence of the VC++ Toolkit 2003:
http://msdn.microsoft.com/visualc/vctoolkit2003/

This toolkit is basically the compiler and linker that come with VS .NET
2003 Pro. I would like to use this compiler and linker with my VC++ .NET
2003 Standard IDE.

I could not find any resources or HOWTO's online so I tried to figure it out
by myself. I went in Tools/Options/Projects/VC++ Directories, and added the
toolkit's "bin" folder to the very top of the "Executable files" list, the
toolkit's "include" folder to the top of the "Include files" list, and the
toolkit's "lib" folder to the top of the "Library files" list.

I turned on the banner display in the build options to see which compiler
ended up being invoked; it seems that my directory trick is working, as this
is the banner I get in the output window:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86

The banner I get when I remove the toolkit "executable files" directory
entry is:
Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.10.3077 for 80x86

So I know the proper compiler is being called... However when I look at the
build log, this line has been written at the very top:
This edition of Visual C++ does not support the optimizing compiler.

Also, my resulting binary is indentical regardless of which compiler was
used (same binary size). Also, most optimization settings in my project's
properties are grayed out.

At this point I'm starting to think that the Standard IDE simply does not
allow me to change the optimization parameters using their settings dialogs.
Does that mean that I have to figure out which command-line parameters to
send the compiler and linker, and put those somewhere in the build settings?
Does that also mean that I'll always get this "This edition of Visual C++
does not support the optimizing compiler" line in all my build logs?
I'd appreciate any tips and suggestions. My goal is to have a seamless
integration of the optimizing compiler to my Standard installation, meaning
I'd like to avoid having to play with project settings every time I create a
new project. Has anyone out there figured out how to use the optimizing
compiler with VC++ .NET 2003 Standard?
Thanks!

- Alex
Nov 17 '05 #1
4 1867
Hi Alex,
Also, my resulting binary is indentical regardless of which compiler
was used (same binary size). Also, most optimization settings in my
project's properties are grayed out.
The optimazation settings must be set in the "C++|Command Line" section!

At this point I'm starting to think that the Standard IDE simply does
not allow me to change the optimization parameters
Thats true, but you can specify them "by hand" (see above)
Does that also mean that I'll always
get this "This edition of Visual C++ does not support the optimizing
compiler" line in all my build logs?
Yes.

I'd appreciate any tips and suggestions. My goal is to have a seamless
integration of the optimizing compiler to my Standard installation,
meaning I'd like to avoid having to play with project settings every
time I create a new project.


This is not supported.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #2
Hi Jochen,

The optimazation settings must be set in the "C++|Command Line" section!


That's what I was thinking. :) Oh well, no pretty Settings dialog for me!

Does that also mean that I'll always
get this "This edition of Visual C++ does not support the optimizing
compiler" line in all my build logs?


Yes.


And (sorry, I just want to make sure I understand), as long as I set the
proper command-line options, this warning message does not actually mean
anything, correct? I mean, would there be a difference in the resulting
binary between a C++ project compiled with optimizations with VS .NET 2003
Pro versus the same project compiled with VC++ .NET 2003 Std and the
Toolkit, given that my command-line optimization-related flags are the same?
Thanks!

- Alex
Nov 17 '05 #3
Hi Alex,
And (sorry, I just want to make sure I understand), as long as I set
the proper command-line options, this warning message does not
actually mean anything, correct?
Yes.

I mean, would there be a difference in the resulting binary between a C++ project compiled with
optimizations with VS .NET 2003 Pro versus the same project compiled
with VC++ .NET 2003 Std and the Toolkit, given that my command-line
optimization-related flags are the same?


It should produce the "same" exe.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #4
Thanks Jochen! Much appreciated.

- Alex
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
5
by: Mark | last post by:
The following code works with gnu compilers (ISO compliant declaration of the variable "i") void foo() { for (int i = 0; i < length; i++) { loop code.... } for (int i = 0; i < length; ...
0
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
0
by: Johan Nilsson | last post by:
Hi, is there a browser toolkit available for VC.NET 2003 (VC7.1)? I found downloadable toolkits for virtually all other versions at microsoft.com, but none specifically marked as compatible with...
1
by: Johan Nilsson | last post by:
Hi, is there a browser toolkit available for VC.NET 2003 (VC7.1)? I found downloadable toolkits for virtually all other versions at microsoft.com, but none specifically marked as compatible with...
2
by: zorro | last post by:
Hi, I use the Visual C++ .NET 2003 Standard Edition which doesn't include an optimizing compiler. But Microsoft released the VC++ 2003 Toolkit (http://msdn.microsoft.com/visualc/vctoolkit2003/)...
1
by: Ioannis Vranos | last post by:
Can VC++ Toolkit 2003 compile VC++ 2003 projects out of the box? I mean read the project files themselves and compile? Or some other way? I am talking about a more convenient way than building in...
36
by: Alex Martelli | last post by:
So, I thought I'd tool up to let me build and test Python extensions on Windows (as well as Mac and Linux) -- I'm trying out Parallels Workstation beta on my new Macbook Pro (and so far it seems to...
4
by: youpak2000 | last post by:
Hi, I'm working on a VC++ project developed using Visual Studio 2003 and 2005. I want to compile the solutions from command like without installing VS IDE. I downloaded a free Visual C++...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.