Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Changing the GCC-E optimization level to speed up your application

From Wiki
Jump to: navigation, search
Article Metadata
Article
Created: bharatuppal (24 Jul 2007)
Last edited: hamishwillee (20 Jul 2012)

Following are the major changes that have to be done :

1> Go to the following path

C:\Symbian\9.1\S60_3rd\Epoc32\tools\compilation_config

        OR

$(EPOCROOT)\tools\compilation_config

2> Open the gcce.mk file

search for the following lines

#---------------------
# Release Mode Options
#---------------------
 
# Optimization Level in RELEASE mode
REL_OPTIMISATION=

Edit the above line as

REL_OPTIMISATION= -O2 -fno-unit-at-a-time

Also you can add the following line in the .MMP file

YourApp.mmp
// This tells the compiler to trim huge binaries
OPTION GCCE -O2 -fno-unit-at-a-time


For more information on GCCE optimization see GCCE compiler options

External Links


This page was last modified on 20 July 2012, at 07:22.
62 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×