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
阅读(2332) | 评论(0) | 转发(0) |