Click to See Complete Forum and Search --> : Free upgrade from C++ 2002 standard edition to 2003 optimizer


doug_dyer
April 22nd, 2004, 11:48 AM
As you know, the standard editions don't include the compiler optimizer, but MS actually gives the 2003 C++ command line tools away for .NET development reasons.

1) Download and install this:
http://msdn.microsoft.com/visualc/vctoolkit2003
It won't integrate into your visual studio.

2) locate your 2002 (or 2003) compiler bin folder
C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin

3) Locate the vctoolkit2003 bin folder.

4) If you have 2002 visual studio, copy all the 2003 BIN files EXCEPT c1xx.dll into the vc bin folder. If you have 2003, go ahead and copy c1xx.dll.

5) Now you are done. Note that standard edition studio optimization properties are still ghosted out. To use them, add the following compiler switches using the "command line" property.

/Og /Oi /Ot /Oy /Ob2 /Gs /GF /Gy


This works great for me. Compile the sample code provided with the 2003 toolkit to verify the optimizer is working.

Any comments on this? Anyone vouch for this modification's stability?

Andreas Masur
April 22nd, 2004, 05:09 PM
[Moved thread]