[Gpephone-devel] Development environment updates

JIANG Dan RD-ILAB-PEK dan.jiang at orange-ftgroup.com
Fri Jul 13 12:45:19 CEST 2007


There is new version of scratchbox toolchain and SDK for development of GPE Phone Edition.
(The last version and the method on how to setup scratchbox refer to http://www.linuxtogo.org/gowiki/DevelopmentTools )

The OE toolchain could be found here. ( http://www.linuxtogo.org/~jiangdan/oe-x86-new2.tar.gz ). 
You should download it, unzip it to /scratchbox/compilers

The SDK could be found here. (http://www.linuxtogo.org/~jiangdan/sbox-gpesdk-generic-.dev-snapshot-20070201-i486.tar.gz )The SDK includes all the libraries of GPE Phone Edition.

The steps for you to use:
1.	enter scratchbox
2.	in scratchbox, type: sb-menu
3.	in "Select action" window, choose: Setup   Setup a target, press <OK>
4.	in "Install into target" window, choose <NEW>   Create a new target, press <OK>
5.	in "Target name" window, Enter name for the new target. E.g., test, press <OK>
6.	in "Select compiler" window, choose oe-x86-new2   cross, press <OK>
7.	in "Select devkits" window, choose doctools, press <OK>, choose perl, press <OK>, choose DONE   Done selecting, choose DONE   Done selecting,
8.	in "Select CPU-transparency method" window, choose none, press <OK>
9.	in window of "Do you wish to extract a rootstrap on the target", choose <Yes>
10.	in window of "Select  action", choose File   Select a local file, press <OK>
11.	in window of "Use file as rootstrap", choose the SDK file, press <OK>
12.	in window of "Do you wish to install files to the target", press <Yes>
13.	in window of "Install files to target", choose /etc, Devkits, fakeroot, press <YES>
14.	in window of "Do you wish to slelect the target", press <Yes>
15.	now the scratchbox has changed the target to test
16.	cd /scratchbox/package, try to compile hello-world, if it is OK, you could try to build your codes.

Then you want to run your codes on the vmware image, the steps are as following:
1.	in vmplayer, choose image
2.	in the console, copy the library/ binary which is built by scratchbox.
3.	run and test



Please have a try first!

Your comments are warmly welcome!

Thanks!






More information about the Gpephone-devel mailing list