在evc 3.0上编译STLport
钱五哥
http://spaces.msn.com/members/qianwuge/
Before you start compiling the code, get the source code first:
CVSROOT = :pserver:cvs@cvs.stlport.com:/stlport
Module = STLport
TAG = STLPORT_5_0_RC3
or use the command line:
cvs -d :pserver:cvs@cvs.stlport.com:/stlport co -rSTLPORT_5_0_RC1 STLport
0. set the environment
set PLATFORM=Pocket PC 2002
1. Build for ARM
(1) setup evc3 command environment
C:\Program Files\Microsoft eMbedded Tools\EVC\WCE300\BIN>WCEARM.BAT
(2) config the STLport
E:\0-newProjectWork\sipua(ce)\STLport\build\lib>configure.bat -c evc3 -p ARM
(3) make the STLport
E:\0-newProjectWork\sipua(ce)\STLport\build\lib>nmake /f nmake-evc3.mak
(3) install to the STLport .\lib directory
E:\0-newProjectWork\sipua(ce)\STLport\build\lib>nmake /f nmake-evc3.mak install
2. build for X86 emulator
(1) change the WCEARM.bat => WCEx86.bat
(2) change the “ARM” => “x86”
(3,4) same
3. Configure the EVC
In ‘Tools -> Options -> Directories’
For each platform (e.g. ARM and x86), fill in the Directory and Lib, move them the
first line.
point the lib => stlport\lib\xxxplatformxxx\
This procedure works fine for me, any comments, please let me know
(转载请征得作者同意)