Setting Up Your Build Environment (MR4)This section describes how to prepare your Windows x86 build environment for building the JavaCall porting layer, PCSL, CLDC, and phoneME Feature client software. This document contains the following sections:
To properly use this document, two kinds of variables are set:
Both kinds of variables are described in the following sections. Setting Up the Windows x86 Build EnvironmentTo set up your Windows x86 platform, you must take the following general steps:
Before you build phoneME Feature on a Windows x86 platform, download and install Cyg4Me, version 1.1. Cyg4Me is a standardized version of Cygwin for building Java ME platform products on Windows. It provides the necessary UNIX® system tools, such as
This file contains all the executables and libraries needed to build on the Windows x86 platform.
For example, you could unzip the file into
Setting Up Your Windows Work Environment To properly set up your Windows work environment, you must run the Windows batch file,
"C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" The Due to variations in Windows system configuration, the directory path to the Note: If using a Windows path with spaces, as shown above, doesn't work, try entering a substitute path using Windows short names. To find the short names for your directory path, change to each directory that has spaces and type:
C:\> dir /x You can use also the
C:\>: cygpath -ms "C:\Program Files\Microsoft Visual Studio 8\VC\bin"
delivers the short name
C:/PROGRA~1/MICROS~2/VC/bin If your compiler is Microsoft Visual Studio 2003, you might better set up your Windows work environment using the file
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat
Note: Building phoneME Feature using Microsoft Visual Studio .NET 2003 may work, but it is not fully supported. For best results, use Microsoft Visual Studio 2005, as described in Requirements for Building on a Windows x86 Platform. Setting Build Platform Environment Variables To set up the Windows x86 build environment to build phoneME Feature software for the JavaCall porting layer on Windows x86 target platform, set the optional build variables shown in Table1-1 and the required build variables as shown Table1-2.
Note: As shown in this command line, the
Note: If you previously installed Cygwin on your Windows x86 platform, remove all
|
