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

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 modeREL_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 binariesOPTION GCCE -O2 -fno-unit-at-a-time`