Ulrich Eckhardt
2010-04-07 07:44:33 UTC
Hi!
We're currently looking for a Heisenbug here and one facet we're looking at
is the two features from the topic. Our setup is an MS Windows CE 6,
running on an x86 board. Our code is tompiled using VS2005. A few questions
came up:
1. There is a setting in the "General" tab that says "Whole Program
Optimization". There also is one in the C++ with the same name. Further,
there is one in the linker settings that reads "Link Time Code Generation".
If the one in the C++ tab is set, you get a warning unless you activate the
one for the linker, too. What are the further relations between those
three?
2. We have activated the program database for debugging, which increased the
size of our binary by ~30%. I was under the impression that all additional
info is put into the PDB-file. What additional info is put into the
executable? Also, does this affect optimizations in any way?
Thanks for clarifications!
Uli
We're currently looking for a Heisenbug here and one facet we're looking at
is the two features from the topic. Our setup is an MS Windows CE 6,
running on an x86 board. Our code is tompiled using VS2005. A few questions
came up:
1. There is a setting in the "General" tab that says "Whole Program
Optimization". There also is one in the C++ with the same name. Further,
there is one in the linker settings that reads "Link Time Code Generation".
If the one in the C++ tab is set, you get a warning unless you activate the
one for the linker, too. What are the further relations between those
three?
2. We have activated the program database for debugging, which increased the
size of our binary by ~30%. I was under the impression that all additional
info is put into the PDB-file. What additional info is put into the
executable? Also, does this affect optimizations in any way?
Thanks for clarifications!
Uli
--
C++ FAQ: http://parashift.com/c++-faq-lite
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
C++ FAQ: http://parashift.com/c++-faq-lite
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932