• <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>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            Linking a library to an application

            Posted on 2018-11-28 15:12 Prayer 閱讀(271) 評論(0)  編輯 收藏 引用 所屬分類: LINUX/UNIX/AIX
            https://www.ibm.com/support/knowledgecenter/SSGH2K_12.1.0/com.ibm.xlc121.aix.doc/proguide/link_app.html#link_app
            You can use the same command string to link a static or shared library to your main program. For example:
            與靜態庫一樣的連接方式
            xlc -o myprogram main.c -Ldirectory  -ltest復制
            where directory is the path to the directory containing the library libtest.a.
            If your library uses runtime linking, add the -brtl option to the command:
            xlc -brtl -o myprogram main.c -Ldirectory -ltest復制

            By using the -l option, you instruct the linker to search in the directory specified via the -L option for libtest.so; if it is not found, the linker searches for libtest.a.
            先找靜態庫,再找動態庫。如果找不到so,則找a

             For additional linkage options, including options that modify the default behavior, see the AIX® ld documentation (http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds3/ld.htm).

            热久久视久久精品18| 热久久国产精品| 亚洲AV成人无码久久精品老人| 久久SE精品一区二区| 青青青青久久精品国产h| 亚洲另类欧美综合久久图片区| 久久综合给合久久国产免费| 久久国产成人| 91精品国产综合久久精品| 日韩久久久久中文字幕人妻| 久久人妻少妇嫩草AV无码专区| 久久免费视频一区| 久久免费高清视频| 亚洲αv久久久噜噜噜噜噜| 久久精品免费大片国产大片 | 久久996热精品xxxx| 狠狠精品久久久无码中文字幕| 久久这里只精品国产99热| 三上悠亚久久精品| 久久99久久99精品免视看动漫| 免费精品久久久久久中文字幕| 国产精品99久久久久久宅男| 国产午夜精品久久久久免费视| 久久精品国产AV一区二区三区| 亚洲综合久久综合激情久久 | 日本五月天婷久久网站| 久久国产成人| 久久久久国产| 久久国产高清一区二区三区| 色综合久久精品中文字幕首页| 久久亚洲国产中v天仙www| 97久久精品人妻人人搡人人玩| 久久精品人人做人人爽电影蜜月 | 99久久精品无码一区二区毛片 | 久久影院综合精品| 九九精品99久久久香蕉| 国产亚洲美女精品久久久久狼| 国产综合久久久久久鬼色| 成人国内精品久久久久一区| 久久国产精品久久国产精品| 久久久久国产一级毛片高清版|