Question

I want reduce the size of my application as much as possible using VisualStudio 8. what are the compiler options that are required to be set for this?

Here are the ones the i have set

1.project properties->configuration properties->General->use of MFC "Use MFC in a Shared DLL" 2.project properties->configuration properties->c/c++->optimization->optimization "Minimize Size (/O1)" 3.project properties->configuration properties->c/c++->optimization->Favor Size or Speed "Favor Small Code (/Os)"

Please let me know the other options that can be used.

Was it helpful?

Solution

Your compiler options are on the right lines but there are others for compiler and linker. Take a look at the article here which has some other ideas, depending on how much work you want to put into this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top