Editing CSSU-thumb toolchain setup (gcc4.7.2-linaro)
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This document describes how to setup the CSSU-thumb toolchain (gcc4.7.2-linaro) in scratchbox. | This document describes how to setup the CSSU-thumb toolchain (gcc4.7.2-linaro) in scratchbox. | ||
- | |||
- | |||
- | |||
- | |||
1. You need to have [http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation ScratchBox] environment already set up. | 1. You need to have [http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation ScratchBox] environment already set up. | ||
- | 2. Download [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/linaro-4.7-2012.07-fremantle-armv7a.tar.bz2 gcc-4.7.2-linaro toolchain] and extract it under /scratchbox/compilers | + | 2. Download [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/linaro-4.7-2012.07-fremantle-armv7a.tar.bz2 gcc-4.7.2-linaro toolchain] and extract it under /scratchbox/compilers |
- | + | ||
3. Create new ScratchBox target FREMANTLE_ARMEL_GCC472 | 3. Create new ScratchBox target FREMANTLE_ARMEL_GCC472 | ||
Line 19: | Line 14: | ||
[sbox->:~]sb-conf st FREMANTLE_ARMEL_GCC472 -c linaro-4.7-2012.07-fremantle-armv7a -d qemu:perl:debian-etch:doctools:svn:git -t qemu-arm-sb | [sbox->:~]sb-conf st FREMANTLE_ARMEL_GCC472 -c linaro-4.7-2012.07-fremantle-armv7a -d qemu:perl:debian-etch:doctools:svn:git -t qemu-arm-sb | ||
- | |||
- | |||
[sbox->:~]sb-conf se FREMANTLE_ARMEL_GCC472 | [sbox->:~]sb-conf se FREMANTLE_ARMEL_GCC472 | ||
Line 27: | Line 20: | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] > sb-conf in -edL | [sbox-FREMANTLE_ARMEL_GCC472: ~] > sb-conf in -edL | ||
- | |||
- | |||
[sbox-FREMANTLE_ARMEL_GCC472: ~] > apt-get update | [sbox-FREMANTLE_ARMEL_GCC472: ~] > apt-get update | ||
Line 60: | Line 51: | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | [sbox-FREMANTLE_ARMEL_GCC472: ~] >apt-get update | ||
[sbox-FREMANTLE_ARMEL_GCC472: ~] >fakeroot apt-get upgrade | [sbox-FREMANTLE_ARMEL_GCC472: ~] >fakeroot apt-get upgrade | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Download and install [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/packages/libstdc%2b%2b6-dev_4.7.2-0%2bcssu0_armel.deb libstdc++6-dev_4.7.2-0+cssu0_armel.deb] | Download and install [http://maemo.merlin1991.at/cssu/develdebs/gcc-4.7.2_fremantle_armel/packages/libstdc%2b%2b6-dev_4.7.2-0%2bcssu0_armel.deb libstdc++6-dev_4.7.2-0+cssu0_armel.deb] | ||
dpkg -i libstdc++6-dev_4.7.2-0+cssu0_armel.deb | dpkg -i libstdc++6-dev_4.7.2-0+cssu0_armel.deb | ||
- | + | Create FREMANTLE_GCC472.environment in your /targets directory | |
- | + | ||
- | + | ||
- | Create | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | echo "export DEB_BUILD_OPTIONS=maemo-launcher,thumb,vfp" > /targets/FREMANTLE_GCC472.environment | ||
- | + | Your target should be ok at that point. Make sure to reenter the target, so updated FREMANTLE_GCC472.environment to take effect | |
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.