Phoneme advanced CDC quick build Guide

Source: Internet
Author: User
Tags svn update

Phoneme advanced CDC quick build Guide

1. Create the phoneme advanced directory
Mkdir Phoneme
CD Phoneme

2. Download phoneme_advanced-mr2-dev-src-b97-20_nov_2008
Or from the source code library checkout:
% SVN checkout https://phoneme.dev.java.net/svn/phoneme/components/cdc/trunk CDC
% SVN checkout https://phoneme.dev.java.net/svn/phoneme/components/tools/trunk tools
To Checkout the source code library, you need a java.net account:
Authentication realm: collabnet SCM Repository
Username: Duke
Password for 'duke ':
Update from source code library:
% Cd Phoneme-advanced/CDC
% SVN update

3. Go to the build directory for the target device.
Cd cdc/build/Linux-arm-generic

4. Find the location of various build tools
A. Target creation tool (C compiler, connector, etc)
Cvm_target_tools_prefix = mipsel-Linux-
B. (optional) Java creation tool
Jdk_home =/tools/JDK
Note: this parameter is not required if PATH environment variables are included.

5. Read the gnumakefile file to check whether some flags need to be modified.
For LINUX-arm-generic, use_aapcs is the flag most likely to be modified. Some compiler flags need to be modified, or asm_arch_flags must be added. Generally, the default compiler settings are correct.

6. Create the CDC Java Runtime Environment for the target system
% Make cvm_target_tools_prefix = mipsel-Linux-jdk_home =/tools/JDK j2me_classlib = Foundation
After the build is complete, the build directory contains:
· Bin
· Lib
· Testclass.zip
To create the file generated above to the specified directory, use cvm_build_subdir_name
Cvm_build_subdir_name = Output
The generated directory is named output.
Other creation options, such as cvm_debug and cvm_jit, are described later.

7. Move the generated directory to the target device
Zip-r cdc.zip bin lib testclasses.zip
SFTP target-Device

8. Run the CDC Java Runtime Environment on the target device:
Unzip cdc.zip
Bin/CVM-CP testclasses.zip Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.