Changing the GCC-E optimization level to speed up your application
Article Metadata
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


(no comments yet)