{"id":1249,"date":"2005-07-26T12:44:00","date_gmt":"2005-07-26T04:44:00","guid":{"rendered":"http:\/\/www.brofive.org\/?p=1249"},"modified":"2018-05-03T22:35:30","modified_gmt":"2018-05-03T14:35:30","slug":"stlport-%e5%9c%a8evc3%e4%b8%8a%e7%9a%84%e7%bc%96%e8%af%91x86-arm","status":"publish","type":"post","link":"http:\/\/www.brofive.net\/?p=1249","title":{"rendered":"STLport \u5728evc3\u4e0a\u7684\u7f16\u8bd1(X86, ARM)"},"content":{"rendered":"<p><strong><font size=\"4\">\u5728evc 3.0\u4e0a\u7f16\u8bd1STLport<\/font><\/strong> <\/p>\n<p><font size=\"4\">\u94b1\u4e94\u54e5<\/font> <\/p>\n<p><a href=\"http:\/\/spaces.msn.com\/members\/qianwuge\/\"><font size=\"4\">http:\/\/spaces.msn.com\/members\/qianwuge\/<\/font><\/a> <\/p>\n<p><font size=\"4\">Before you start compiling the code, get the source code first:<\/font> <\/p>\n<p><font size=\"4\">CVSROOT = :pserver:cvs@cvs.stlport.com:\/stlport<br \/>Module = STLport<br \/>TAG&nbsp; = STLPORT_5_0_RC3<\/font> <\/p>\n<p><font size=\"4\">or use the command line:<br \/>cvs -d :pserver:cvs@cvs.stlport.com:\/stlport co -rSTLPORT_5_0_RC1 STLport<\/font> <\/p>\n<p><font size=\"4\">0. set the environment<\/font> <\/p>\n<p><font size=\"4\">set PLATFORM=Pocket PC 2002<\/font> <\/p>\n<p><font size=\"4\">1. Build for ARM<\/font> <\/p>\n<p><font size=\"4\">(1) setup evc3 command environment<\/font> <\/p>\n<p><font size=\"4\">C:\\Program Files\\Microsoft eMbedded Tools\\EVC\\WCE300\\BIN&gt;WCEARM.BAT<\/font> <\/p>\n<p><font size=\"4\">(2) config the STLport<\/font> <\/p>\n<p><font size=\"4\">E:\\0-newProjectWork\\sipua(ce)\\STLport\\build\\lib&gt;configure.bat -c evc3 -p ARM<\/font> <\/p>\n<p><font size=\"4\">(3) make the STLport<\/font> <\/p>\n<p><font size=\"4\">E:\\0-newProjectWork\\sipua(ce)\\STLport\\build\\lib&gt;nmake \/f nmake-evc3.mak<\/font> <\/p>\n<p><font size=\"4\">(3) install to the STLport .\\lib directory<\/font> <\/p>\n<p><font size=\"4\">E:\\0-newProjectWork\\sipua(ce)\\STLport\\build\\lib&gt;nmake \/f nmake-evc3.mak install<\/font> <\/p>\n<p><font size=\"4\">2. build for X86 emulator<\/font> <\/p>\n<p><font size=\"4\">(1) change the WCEARM.bat =&gt; WCEx86.bat<\/font> <\/p>\n<p><font size=\"4\">(2) change the &#8220;ARM&#8221; =&gt; &#8220;x86&#8221;<\/font> <\/p>\n<p><font size=\"4\">(3,4) same<\/font> <\/p>\n<p><font size=\"4\">3. Configure the EVC<\/font> <\/p>\n<p><font size=\"4\">In &#8216;Tools -&gt; Options -&gt; Directories&#8217;<\/font> <\/p>\n<p><font size=\"4\">For each platform (e.g. ARM and x86), fill in the Directory and Lib, move them the<br \/>first line.<\/font> <\/p>\n<p><font size=\"4\">point the lib =&gt; stlport\\lib\\xxxplatformxxx\\<\/font> <\/p>\n<p><font size=\"4\">This procedure works fine for me, any comments, please let me know<\/font> <\/p>\n<p><font size=\"4\">(\u8f6c\u8f7d\u8bf7\u5f81\u5f97\u4f5c\u8005\u540c\u610f)<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728evc 3.0\u4e0a\u7f16\u8bd1STLport \u94b1\u4e94\u54e5 http:\/\/spaces.msn.com\/members\/qi&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[225,240,20],"tags":[247,246],"views":2701,"_links":{"self":[{"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/posts\/1249"}],"collection":[{"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.brofive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1249"}],"version-history":[{"count":1,"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/posts\/1249\/revisions"}],"predecessor-version":[{"id":1250,"href":"http:\/\/www.brofive.net\/index.php?rest_route=\/wp\/v2\/posts\/1249\/revisions\/1250"}],"wp:attachment":[{"href":"http:\/\/www.brofive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.brofive.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1249"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.brofive.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}