終於知道如何用ndk-build stl
doc中說可以在Android.mk[x]中設定變數, 不過不成功.
--> 原來是看錯檔名 應該是Application.mk才對
--> 加一個Application.mk就可以build
[x] 後來下在command中:
[x] ndk-build APP_STL=stlport_static
其中 APP_STL 可以有幾個選擇
system -> Use the default minimal C++ runtime library.
stlport_static -> Use STLport built as a static library.
stlport_shared -> Use STLport built as a shared library.
gnustl_static -> Use GNU libstdc++ as a static library.
gnu多了exception.
Monday, April 11, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment