Sun Logo




CLDC HotSpottrademark Implementation Build Guide

CLDC HotSpot Implementation, Version 2.2

12-2008


Contents

Tables

Preface

1. Introduction

1.1 Supported Platforms

1.2 Build Modes

1.3 Building in Batch Mode or with IDE

1.4 Developing for Linux Operating System

1.5 Developing in Microsoft Windows OS

1.6 Environment Variable Summary

1.7 Environment Variable Details

1.7.1 Forward and Backward Slashes

1.7.2 Spaces in File Paths

1.7.2.1 Discovering Abbreviated File Paths in Windows

1.7.3 Path Settings for Visual Studio

2. Required Compilers and Tools

2.1 Compiler Requirements

2.1.1 GNU Make

2.1.2 Obtaining MKS Toolkit

2.1.3 x86 Build Requirements

3. Directory Structure

3.1 Distribution Directories

3.2 Directory build

3.3 Directory src

3.4 Details of vm/share

3.5 Details of vm/cpu

3.5.1 Generator

3.5.2 Runtime System

3.5.3 Compiler

3.6 Details of vm/os

4. Building and Running CLDC HotSpot Implementation

4.1 Getting Software to Compile

4.2 Build Modes

4.2.1 When Runtime Flags are Available

4.3 Build Time Flags for Virtual Machine Configuration

4.4 CLDC HotSpot Implementation Runtime Flags

4.5 Running CLDC HotSpot Implementation

4.5.1 Runtime Command Line Options

4.5.2 Runtime Command Line Examples

4.6 Categories of CLDC HotSpot Implementation Runtime Flags

4.6.1 Product Mode Runtime Flags

4.6.2 Development Mode Runtime Flags

4.6.3 Conditional Mode Runtime Flags

4.6.4 Tuning Flags for Performance

5. Building on Various Platforms

5.1 x86 Linux Platform, Batch Mode

5.2 x86 Win32 Platform, Batch Mode

5.3 x86 Win32 Platform, Batch Mode with CodeWarrior Compiler

5.4 x86 Win32 Platform, IDE Mode

5.4.1 Create the IDE project file

5.5 ARM Linux Platform, Batch Mode

5.6 ADS Linux Platform, Batch Mode

5.7 ADS Win32 Platform, Batch Mode

5.8 ARM Symbian Platform, Batch Mode

5.9 XScale Platform, Batch Mode

5.10 Building the Portable ROMizer

5.11 Building for Other Target Platforms

5.12 Building and Running Examples