×
Namespaces

Variants
Actions

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

From Nokia Developer 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 10:22.
35 page views in the last 30 days.