469,626 Members | 1,447 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Using 2003 Toolkit to optimize - but file sizes same?

I'm trying to get Vis C++ std to compile using /O2 optimizing flag. Many
people have suggested downloading the MS C++ 2003 Toolkit ... it supposedly
has C++ compiler bins that one could use.

I downloaded the 2003 Toolkit ... but the bin files are identical (size,
date, contents) as my existing Vis C++ compiler. I have listed the file
sizes below.

Can someone who has downloaded the 2003 Toolkit see what file sizes and fiel
dates they have?

Here are the 2003 Toolkit files from Toolkit/bin:

3/18/2003 21:11 933,888 c1.dll
3/18/2003 21:11 2,207,744 c1xx.dll
3/18/2003 21:12 1,867,776 c2.dll
3/18/2003 20:37 86,016 cl.exe

Here are my original Vis C++ Std files from Vis C++ .NET/Vc7/bin

3/18/2003 20:11 933,888 c1.dll
3/18/2003 20:11 2,207,744 c1xx.dll
3/18/2003 19:37 823,296 c2.dll
3/18/2003 19:37 81,920 cl.exe
3/15/2003 0:46 145 cl.exe.config

And to answer the obvious question: No, I did not copy the files from the
Toolkit folder to the Vc7/bin folder. I did a "diff" and the files are
identical.

In any case, when I compile with Vis C++ and I add the /O2 option to the
compiler command line, it gives a warning "optimization not supported by
Standard edition".

Thanks in advance for any help,
neal

Nov 17 '05 #1
2 1280
noleander wrote:
I'm trying to get Vis C++ std to compile using /O2 optimizing flag.
Many people have suggested downloading the MS C++ 2003 Toolkit ...
it supposedly has C++ compiler bins that one could use.

I downloaded the 2003 Toolkit ... but the bin files are identical
(size, date, contents) as my existing Vis C++ compiler. I have
listed the file sizes below.

Can someone who has downloaded the 2003 Toolkit see what file sizes
and fiel dates they have?

Here are the 2003 Toolkit files from Toolkit/bin:

3/18/2003 21:11 933,888 c1.dll
3/18/2003 21:11 2,207,744 c1xx.dll
3/18/2003 21:12 1,867,776 c2.dll ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3/18/2003 20:37 86,016 cl.exe

Here are my original Vis C++ Std files from Vis C++ .NET/Vc7/bin

3/18/2003 20:11 933,888 c1.dll
3/18/2003 20:11 2,207,744 c1xx.dll
3/18/2003 19:37 823,296 c2.dll ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3/18/2003 19:37 81,920 cl.exe
3/15/2003 0:46 145 cl.exe.config


Note the difference in size for c2.dll. That's the compiler "back end" and
contains the optimizer.

-cd

PS:

c1.dll - 'C' front end
c1xx.dll - 'C++' front end
c2.dll - back end
cl.exe - compiler driver
cl.exe.config - config file for cl.exe (specifies the version of the managed
runtime targeted by the compiler).

-cd
Nov 17 '05 #2
noleander wrote:
In any case, when I compile with Vis C++ and I add the /O2 option to the
compiler command line, it gives a warning "optimization not supported by
Standard edition".


You should note, that this message will not disappear if you use the
Toolkit compiler... You will still get the same message, but if you
specify /O2 it will optimize.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Greg Scharlemann | last post: by
4 posts views Thread by Ney André de Mello Zunino | last post: by
11 posts views Thread by Peter Rietkerk | last post: by
36 posts views Thread by Alex Martelli | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.