dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Free upgrade from C++ 2002 standard edition to 2003 optimizer

  1. #1
    Join Date
    May 2001
    Location
    US
    Posts
    47

    Thumbs up Free upgrade from C++ 2002 standard edition to 2003 optimizer

    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?

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    [Moved thread]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)