Building a pcsl reference port (phoneme feature mr4)

Source: Internet
Author: User
Tags doxygen windows x86

Building a pcsl reference port (phoneme feature mr4)

 

This document contains instructions for building a pcsl reference port. It has the following sewing:

* Building pcsl software on a Windows x86 build Platform
* Building pcsl documentation

Pcsl libraries are used to build cldc and the phoneme feature software client. pcsl contains several individual services, including file, network, memory, and print. follow the procedures in this section to build a default pcsl reference port containing libraries, tools, tests, and documentation bundles for the following target platforms:

* Windows x86

Note: although each pcsl service can be individually built, this document describes how to build the full pcsl only.

Building pcsl software on a Windows x86 build Platform

This section describes how to build pcsl on the Windows x86 build platform, for a javacall porting layer on a Windows x86 Target Platform, as shown in Table 3-1.

Note: make a note of the values you choose for these variables. when building the cldc and phoneme feature software client, you must set corresponding values.

Setting pcsl environment variables for a Windows x86 build Platform

Table 3-1required pcsl build variables for Windows x86

Name
 

Description

Pcsl_platform

 

Identifies the target operating system, the target CPU, and the compiler that the build system uses to create the pcsl library. Its value has the form OS _cpu_compiler.

The value of this variable is javacall_i1__vc. The VC indicates the Microsoft Visual Studio compiler.

Pcsl_output_dir
 

Specifies the location where the build system puts pcsl output. For example, this cocould be % build_output_dir %/pcsl.

Javacall_output_dir

 

If you are building a javacall porting layer implementation, this specifies the location of the javacall porting layer output.

Tools_dir

 

Defines the directory where needed build tools are located. For example, tools_dir = % components_dir %/tools.

Tools_output_dir

 

Defines a directory location for tools-specific output. For example, tools_output_dir = % build_output_sir %/tools.

Use_vs2005
 

Tells the build system to use Microsoft Visual Studio 2005 as the default compiler. For example, use_vs2005 = true.

Building for a Windows x86 Target Platform

1. Run the make command as a single command-line string, as shown here.

$ Make-C % components_dir %/pcsl pcsl_platform = component modules = % modules %/pcsl modules = % modules %/javacall tools_dir = % components_dir %/tools tools_output_dir = % build_output_dir %/tools use_vs2005 = true

The pcsl build output is found under % pcsl_output_dir %/javacall_i386

Building pcsl documentation

To build doxygen API documentation in HTML format from pcsl porting interfaces, you must install the doxygen tool. It can be acquired from http://www.doxygen.org

Generating doxygen documentation

The procedure for building doxygen documentation is the same for both Linux and Windows build platforms.

1. Change to the pcsl directory:

$ Cd % components_dir %/pcsl

2. Run the make Doc command:

$ Make Doc

Note: The build system assumes that the doxygen executable is in the directory/usr/bin/doxygen. if your executable is installed in a different location, use the doxygen_cmd variable to define the new location. for example:

$ Make doxygen_cmd = doxygen_dir Doc

Where doxygen_dir is the location of your doxygen executable.

Viewing pcsl documents ents

Use any browser to display the doxygen output file at the following URL:

File: // % pcsl_output_dir %/doc/doxygen/html/index.html

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.