• <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 閱讀(276) 評論(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).

            久久综合中文字幕| yy6080久久| 99久久综合狠狠综合久久止| 中文国产成人精品久久不卡 | 亚洲成色www久久网站夜月| 久久99国产亚洲高清观看首页| av午夜福利一片免费看久久| 久久久久亚洲精品无码网址| 色悠久久久久久久综合网| 人妻丰满AV无码久久不卡| 国産精品久久久久久久| 久久人人爽人人爽人人片AV不| 国产精品亚洲综合专区片高清久久久 | 亚洲精品乱码久久久久久蜜桃图片| 996久久国产精品线观看| 久久综合视频网站| 国产99久久九九精品无码| 精品多毛少妇人妻AV免费久久| 99久久夜色精品国产网站| 亚洲va国产va天堂va久久| 99久久国产综合精品五月天喷水| 久久久无码一区二区三区| 久久精品视频一| 人妻丰满?V无码久久不卡| 97久久精品人人做人人爽| AV色综合久久天堂AV色综合在| 久久天天躁狠狠躁夜夜2020一| 久久精品国产亚洲AV不卡| 精品久久久久久久中文字幕 | 四虎影视久久久免费观看| 丰满少妇人妻久久久久久4| 久久精品国产精品青草| 亚洲第一极品精品无码久久 | 久久久久国色AV免费看图片| 久久香蕉一级毛片| 狠狠色噜噜狠狠狠狠狠色综合久久| 色婷婷久久综合中文久久蜜桃av| 18禁黄久久久AAA片| 久久亚洲AV成人无码电影| 久久综合亚洲欧美成人| 久久精品国产亚洲AV香蕉|