Building a PCSL Reference Port (phoneME Feature MR4)

简介: Building a PCSL Reference Port (phoneME Feature MR4) This document contains instructions for building a PCSL reference port.

Building a PCSL Reference Port (phoneME Feature MR4)

 


This document contains instructions for building a PCSL reference port. It has the following sections:

  * 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_i386_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 could 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=javacall_i386_vc PCSL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/pcsl JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/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

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

  file://%PCSL_OUTPUT_DIR%/doc/doxygen/html/index.html 


目录
相关文章
|
人工智能 编解码 自动驾驶
YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
YOLOv7在5 FPS到160 FPS的范围内,在速度和精度方面都超过了所有已知的物体检测器,在GPU V100上以30 FPS或更高的速度在所有已知的实时物体检测器中具有最高的精度56.8% AP。
500 0
《Fighting Cybercrime A Joint Task Force of Real-Time Data and Human Analytics》电子版地址
Fighting Cybercrime: A Joint Task Force of Real-Time Data and Human Analytics
97 0
《Fighting Cybercrime A Joint Task Force of Real-Time Data and Human Analytics》电子版地址
《Towards A Fault-Tolerant Speaker Verification System A Regularization Approach To Reduce The Condition Number》电子版地址
Towards A Fault-Tolerant Speaker Verification System: A Regularization Approach To Reduce The Condition Number
96 0
《Towards A Fault-Tolerant Speaker Verification System A Regularization Approach To Reduce The Condition Number》电子版地址
Data Structures and Algorithms (English) - 7-10 Saving James Bond - Easy Version(25 分)
Data Structures and Algorithms (English) - 7-10 Saving James Bond - Easy Version(25 分)
107 0
|
C++
PAT (Advanced Level) Practice - 1114 Family Property(25 分)
PAT (Advanced Level) Practice - 1114 Family Property(25 分)
100 0
SAP QM Dynamic Modification Rule & Sample Scheme & Sampling Procedure关系?
SAP QM Dynamic Modification Rule & Sample Scheme & Sampling Procedure关系?   Sample scheme被分配给Samp...
1717 0
|
Windows 开发工具 git
Solution: AC_CONFIG_MACRO_DIR conflicts with ACLOCAL_AMFLAGS
.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with ACLOCAL_AMFLAGS=-I ./aclocal 执行libtoolize遇到上面提示的错误时,可能是因为configure.ac和Makefile.am文件是dos格式导致的,使用dos2unix转换一下后再执行,问题可能就解决了。
1966 0
|
Perl
A fine property of the non-empty countable dense-in-self set in the real line
A fine property of the non-empty countable dense-in-self set in the real line   Zujin Zhang   School of Mathematics and Computer Science, Gannan Normal University Ganzhou 341000, P.
803 0