Changes between Version 32 and Version 33 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
Feb 27, 2012 8:34:54 AM (12 years ago)
Author:
zarvai@inf.u-szeged.hu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v32 v33  
    3434}}}
    3535
    36 This will create a new target based on the original Harmattan target that comes with the QtSDK, but with different names for the ARM-toolchain binaries, and pre-installed packages needed for Qt5 development.
     36This will create a new target based on the original Harmattan target that comes with the QtSDK, but with different names for the ARM-toolchain binaries, and pre-installed packages needed for Qt5 development. If you get errors like ''"relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used"'' on build then you should use '''--force''' option with setup-madde-toolchain.sh.
    3737
    3838== 1.5. Download testfonts ==
     
    6666{{{
    6767  $ cd ~/swork
     68  $ ln -s /home/$USER/QtSDK/Madde/targets/harmattan_10.2011.34-1_qt5/bin /home/$USER/swork/browser-scripts/arm-toolchain-bin
    6869  $ browser-scripts/create-icecc-env.sh --environment cross
    6970}}}
    7071
    71 Save the printed output to a file called icecc-env.sh:
    72 {{{
    73 #!html
    74 <div style="color:#000055;border: 1pt dotted; margin:1em 2em 1em 2em; padding: 1em;background:none repeat scroll 0 0 #CCDDFF;">
    75 <pre>icecc_tarball=$(readlink -f $HOME/icecc/icecc-build)
    76 parallel_builds="40"
    77 
    78 if [ -f $icecc_tarball ] ; then
    79     export ICECC_VERSION="i386:$icecc_tarball,x86_64:$icecc_tarball"
    80     export PATH="/home/azbest/icecc/bin:$PATH"
    81     export MAKEFLAGS="$MAKEFLAGS -j$parallel_builds"
    82     export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS,parallel=$parallel_builds"
    83 fi</pre></div>
    84 }}}
    85 
    86 Make the script runnable and execute it before building when you need speedup.
     72The script will create a file called setup-icecc-cross-env.sh in your swork directory.
     73Make the script runnable.
    8774
    8875== 1.8. Build sources ==
     
    9481  $ browser-scripts/build-sources.sh --cross-compile
    9582}}}
     83
     84You may use '''--with-icecc''' option for building to get speedup with icecc.
    9685
    9786This will build Qt5, QtComponents, and QtWebKit.