Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2028962
  • 博文数量: 413
  • 博客积分: 10926
  • 博客等级: 上将
  • 技术积分: 3862
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-09 18:14
文章分类

全部博文(413)

文章存档

2015年(5)

2014年(1)

2013年(5)

2012年(6)

2011年(138)

2010年(85)

2009年(42)

2008年(46)

2007年(26)

2006年(59)

分类: LINUX

2007-02-25 14:28:30

1, For linux
1.1 For X6
  [Step 01] $ cd

1.2 For arm
export LDFLAGS="-Lxxxx"
./configure --with-cc=gcc --with-cxx=g++ --prefix=$PWD/install_dir --target=arm-linux
make && make install
export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
cd build/test/unit && make install


2, For Windows and Windows Mobile
2.1 For Windows
  [Step 01] > cd
  [Step 02] > configure -p   [Step 03] > cd build/lib
  [Step 04] > nmake clean install      //Build library, after build completed, the libraries are stored to \lib\vc8
  [Step 05] > cd ..
  [Step 06] > cd test\unix
  [Step 07] > nmake clean install       //Build test cases, after build completed, the executables files are stored to \bin\vc8
  [Step 08] > cd ..\..\..\bin\vc8
  [Step 09] > stl_unit_test -f=a.txt

2.2 For Windows Mobile
  [Step 01] > cd
  [Step 02] Refere to doc\README.evc8 to set up build environment
  [Step 03] > configure evc8 -x
  [Step 04] > cd build/lib
  [Step 05] > nmake clean install      //Build library, after build completed, the libraries are stored to \lib\evc8-arm
  [Step 06] > cd ..
  [Step 07] > cd test\unix
  [Step 08] > nmake clean install       //Build test cases, after build completed, the executables files are stored to \bin\evc8-arm, run "stl_unit_test -f=a.txt" or "stl_unit_test_static -f=a.txt" to execute unit test, if you run stl_unit_test, please copy STLPort dynamic libraries to the device first.
 

3, For Symbian 3rd
  [Step 01] Download STLPort-5.1.5-symbian-r1-RC_9.2, and P.I.P.S
  [Step 02] Install P.I.P.S SDK, and Unpack TLPort-5.1.5-symbian-r1-RC_9.2, then go to \symbian
  [Step 03] Set default device for Symbian compiler
  [Step 04] bldmake bldfiles
  [Step 05] abld build gcce urel //Build library
  [Step 06] abld test build gcce urel //Build test cases
  [Step 07] Install P.I.P.S to the device
  [Step 08] Run stl_unit_test on the device to test STLPort

阅读(2301) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~