Modify Symbian build to improve performance. Update instructions.

This commit is contained in:
Sacha 2013-01-31 19:59:59 +10:00
parent 2adac54060
commit 9bcf98c378
2 changed files with 19 additions and 2 deletions

View File

@ -27,8 +27,11 @@ blackberry: {
DEFINES += BLACKBERRY BLACKBERRY10 "_QNX_SOURCE=1" "_C99=1"
}
symbian: {
QMAKE_CXXFLAGS += -march=armv6 -mfpu=vfp -mfloat-abi=softfp -marm -Wno-parentheses -Wno-comment
DEFINES += SYMBIAN
# Does not seem to be a way to change to armv6 compile so just override in variants.xml (see README)
MMP_RULES -= "ARMFPU softvfp+vfpv2"
MMP_RULES += "ARMFPU vfpv2"
QMAKE_CXXFLAGS += -marm -Wno-parentheses -Wno-comment
DEFINES += __MARM_ARMV6__
CONFIG += 4.6.3
}

View File

@ -122,6 +122,20 @@ To build for Symbian, you require:
2) Symbian Qt libraries. You can find these in the final Nokia Qt SDK or online.
3) Set up your SDK to use Symbian GCCE 4.6.3. See a tutorial here: http://www.summeli.fi/?p=4220
You will need to add the GCCE 4.6.3 variant to Symbian\tools\sbs\lib\config\variants.xml as follows:
<var name="gcce4_6_3" extends="gcce_base">
<env name="SBS_GCCE463BIN" type="toolchainpath" />
<set name="GCCEBIN" value="$(SBS_GCCE463BIN)" />
<set name="GCCECC" value="$(GCCEBIN)/arm-none-symbianelf-g++$(DOTEXE)" type="tool" versionCommand="$(GCCECC) -dumpversion" versionResult="4.6.3"/>
<set name="RUNTIME_LIBS_LIST" value="drtaeabi.dso dfpaeabi.dso"/>
<set name="PLATMACROS.VAR" value="GCCE_4 GCCE_4_6"/>
<set name="ARMMACROS.VAR" value="__GCCE_4__ __GCCE_4_6__"/>
<set name="LINKER_DEFAULT_LIBS" value="-lsupc++ -lgcc -lgcc_eh"/>
<set name="PLATMACROS.CONFIG" value="ARMV6"/>
<set name="ARMMACROS.CONFIG" value="__ARMV6__"/>
<set name="CC.ARMV5" value="-march=armv6"/>
<set name="CC.SOFTVFP_MAYBE_VFPV2" value="softfp"/>
</var>
Then simply compile the PPSSPPQt.pro with `qmake` from the SDK or [QtCreator 2.6+][qt-creator].