• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            walt

              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              4 隨筆 :: 3 文章 :: 1 評論 :: 0 Trackbacks
            目標(biāo):
            能夠在c2終端下 運行:
            boost_1_41_0/libs/asio/example/echo中的:
            async_tcp_echo_server
            async_tcp_echo_client

            步驟:
            1. 下載  1.41.0
            2.  tar 到 交叉編譯環(huán)境下
            3.
            cd /export/byh/boost/boost_1_41_0 
            執(zhí)行  ./bootstrap.sh
            4.
            modify “user-config.jam”:
            using gcc : c2 : c2-linux-g++ ;
            bjam toolset=gcc-c2
            5.
            ./bjam install
            6.
            cd libs/asio/example/
             find ../../../bin.v2/ -name "*.a*"
            ../../../bin.v2/libs/signals/build/gcc-c2/release/link-static/threading-multi/libboost_signals.a
            ../../../bin.v2/libs/system/build/gcc-c2/release/link-static/threading-multi/libboost_system.a
            ../../../bin.v2/libs/math/build/gcc-c2/release/link-static/threading-multi/libboost_math_tr1.a
            ../../../bin.v2/libs/math/build/gcc-c2/release/link-static/threading-multi/libboost_math_c99.a
            ../../../bin.v2/libs/math/build/gcc-c2/release/link-static/threading-multi/libboost_math_tr1f.a
            ../../../bin.v2/libs/test/build/gcc-c2/release/link-static/threading-multi/libboost_unit_test_framework.a
            ../../../bin.v2/libs/test/build/gcc-c2/release/link-static/threading-multi/libboost_prg_exec_monitor.a
            ../../../bin.v2/libs/test/build/gcc-c2/release/link-static/threading-multi/libboost_test_exec_monitor.a
            ../../../bin.v2/libs/filesystem/build/gcc-c2/release/link-static/threading-multi/libboost_filesystem.a
            ../../../bin.v2/libs/wave/build/gcc-c2/release/link-static/threading-multi/libboost_wave.a
            ../../../bin.v2/libs/python/build/gcc-c2/release/link-static/threading-multi/libboost_python.a
            ../../../bin.v2/libs/thread/build/gcc-c2/release/link-static/threading-multi/libboost_thread.a
            ../../../bin.v2/libs/regex/build/gcc-c2/release/link-static/threading-multi/libboost_regex.a
            ../../../bin.v2/libs/date_time/build/gcc-c2/release/link-static/threading-multi/libboost_date_time.a
            ../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/libboost_wserialization.a
            ../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/libboost_serialization.a
            ../../../bin.v2/libs/program_options/build/gcc-c2/release/link-static/threading-multi/libboost_program_options.a
            ../../../bin.v2/libs/graph/build/gcc-c2/release/link-static/threading-multi/libboost_graph.a

            7.
            c2-linux-g++ async_tcp_echo_server.cpp -I../../../../ -o async_tcp_echo_server -L../../../../bin.v2/libs/asio/build/gcc-c2/release/link-static/threading-multi/ -L../../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/ -lboost_serialization -lboost_serialization -lpthread  -L../../../../bin.v2/libs/system/build/gcc-c2/release/link-static/threading-multi/ -lboost_system

            c2-linux-g++ blocking_tcp_echo_client.cpp -I../../../../ -o blocking_tcp_echo_client -L../../../../bin.v2/libs/asio/build/gcc-c2/release/link-static/threading-multi/ -L../../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/ -lboost_serialization -lboost_serialization -lpthread  -L../../../../bin.v2/libs/system/build/gcc-c2/release/link-static/threading-multi/ -lboost_system


            c2-linux-g++ blocking_tcp_echo_server.cpp -I../../../../ -o /export/bin/ice/blocking_tcp_echo_server -L../../../../bin.v2/libs/asio/build/gcc-c2/release/link-static/threading-multi/ -L../../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/ -lboost_serialization -lboost_serialization -lpthread  -L../../../../bin.v2/libs/system/build/gcc-c2/release/link-static/threading-multi/ -lboost_system ../../../../bin.v2/libs/thread/build/gcc-c2/release/link-static/threading-multi/libboost_thread.a getncpus.cpp


             c2-linux-g++ -I../../../../ posix_chat_client.cpp getncpus.cpp -L../../../../bin.v2/libs/asio/build/gcc-c2/release/link-static/threading-multi/ -L../../../../bin.v2/libs/serialization/build/gcc-c2/release/link-static/threading-multi/ -lboost_serialization -lboost_serialization -lpthread  -L../../../../bin.v2/libs/system/build/gcc-
            c2/release/link-static/threading-multi/ -lboost_system ../../../../bin.v2/libs/thread/build/gcc-c2/release/link-static/threading-multi/libboost_thread.a -o /export/bin/ice/posix_chat_client


            //filetransfer 測試
            "C:\Program Files\boost\boost_1_41_0\libs\asio\example\echo\AsyncechoServer\Debug\FileTransferClient.exe" 172.168.0.231 67 "E:\SourceHome\3rdparty\ice\LR9Download.exe"  e:/1.rar


            posted on 2010-01-26 09:49 白宇皓 閱讀(1349) 評論(0)  編輯 收藏 引用

            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            欧美亚洲国产精品久久蜜芽| 亚洲а∨天堂久久精品| 色欲综合久久躁天天躁蜜桃| 亚洲伊人久久成综合人影院 | 伊人久久综合热线大杳蕉下载| 91久久精一区二区三区大全| 色噜噜狠狠先锋影音久久| 欧美麻豆久久久久久中文| 国产偷久久久精品专区| 久久99热狠狠色精品一区| 国产69精品久久久久99| 亚洲国产精品久久久天堂| 国产精品久久久久影院嫩草| 午夜精品久久久久久久无码| 久久综合香蕉国产蜜臀AV| 欧美激情精品久久久久久| 久久精品国产99久久久| 久久影院久久香蕉国产线看观看| 久久香综合精品久久伊人| 伊人情人综合成人久久网小说| 国产精品久久久久9999| 亚洲人AV永久一区二区三区久久| 久久91亚洲人成电影网站| 亚洲香蕉网久久综合影视| 久久亚洲精品无码观看不卡| 久久久久久久尹人综合网亚洲| 亚洲精品乱码久久久久久按摩 | 亚洲AV乱码久久精品蜜桃| 久久久久久毛片免费看| 精品久久久久久综合日本| 少妇精品久久久一区二区三区| 久久伊人五月天论坛| 久久久久亚洲精品天堂久久久久久 | 久久亚洲AV成人无码| 久久精品国产欧美日韩99热| 国产精品青草久久久久福利99 | 欧美噜噜久久久XXX| 亚洲综合伊人久久大杳蕉| 久久亚洲精品成人无码网站| 老男人久久青草av高清| 99精品国产综合久久久久五月天|