Download Laika user guide

Transcript
TUT/NOKIA
Laika project:
http://www.cs.tut.fi/~laika/
LAIKA USER GUIDE
2 (26)
26.10.2005
v. 1.5
Table of Contents
1 INTRODUCTION.............................................................................................................................4
1.1 In Brief.......................................................................................................................................4
1.1.1 Chapter I: Introduction........................................................................................................4
1.1.2 Chapter II: Requirements....................................................................................................4
1.1.3 Chapter III: Installation.......................................................................................................4
1.1.4 Chapter IV: Using the Plugin..............................................................................................4
1.1.5 Chapter V: Behid the Scenes..............................................................................................5
1.1.6 Chapter VI: Known Issues..................................................................................................5
1.1.7 Chapter VII: References ....................................................................................................5
1.2 Declarations...............................................................................................................................5
1.2.1 Autogen..............................................................................................................................5
1.2.2 Bourne Shell.......................................................................................................................5
1.2.3 CDT....................................................................................................................................5
1.2.4 CPU­Transparency..............................................................................................................5
1.2.5 GDB Server........................................................................................................................6
1.2.6 GTK....................................................................................................................................6
1.2.7 Hildon.................................................................................................................................6
1.2.8 Maemo................................................................................................................................6
1.2.9 QEMU­ARM......................................................................................................................6
1.2.10 SBRSH..............................................................................................................................6
1.2.11 Scratchbox.........................................................................................................................6
2 REQUIREMENTS............................................................................................................................7
3 INSTALLATION..............................................................................................................................8
4 USING THE PLUGIN.......................................................................................................................9
4.1 Setting preferences.....................................................................................................................9
4.2 Creating a project ....................................................................................................................10
4.2.1 Overview..........................................................................................................................10
4.2.2 Automake Hildon Project inside Scratchbox...................................................................12
4.2.3 Standard Make C/C++ Project inside Scratchbox............................................................13
4.3 Import existing automake project to Eclipse............................................................................14
4.4 Modifying project properties ..................................................................................................15
4.5 Compilation..............................................................................................................................16
4.6 Running....................................................................................................................................17
4.6.1 Running when using SBRSH as CPU­transparency.........................................................18
4.7 Debugging................................................................................................................................18
4.7.1 GDB server inside Scratchbox..........................................................................................19
4.7.2 GDB server in real device.................................................................................................19
4.7.3 Debugging when using SBRSH as CPU­transparency.....................................................19
4.8 Making Debian package...........................................................................................................20
4.8.1 Make rules for project's Debian package..........................................................................20
4.8.2 Make Debian package......................................................................................................20
4.9 Installing Debian package to real device..................................................................................21
4.10 Toolbar buttons.......................................................................................................................21
4.10.1 X­Windowing..................................................................................................................21
4.10.1.1 Start X......................................................................................................................21