BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1
26.2. ARM Compiler
26.2.1. ARM Compiler Option
26.2.1.1. LFLAGS Option
Example 26.3. Set to minimize the application size after linking
# before changing
LFLAGS = $(ROPILINK) -rwpi -entry 0x8000#
# after changing
LFLAGS = $(ROPILINK) -rwpi -entry AEEMod_Load#0x8000#
26.2.1.2. OPT Option
Example 26.4. Set to expand the inline function to its maximum
# before changing
OPT = -Ospace -O2 # Full compiler optimization for space
# after changing
OPT = -Ospace -O2 --no_inlinemax # Full compiler optimization for space
26.2.1.3. DBG Option
Example 26.5. Set to make the speed of ARM compiler fast
# before changing
DBG = -g # Enable debug
# after changing
DBG = -g- # Enable debug
Note
Debug information will not be outputted with the above setting.