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

            四虎影视久久久免费| 久久综合亚洲鲁鲁五月天| 国产精品无码久久综合| 97久久精品午夜一区二区| 久久99久久99小草精品免视看| 久久99国产精品一区二区| 久久国产免费直播| 亚洲∧v久久久无码精品| 999久久久免费国产精品播放| 久久嫩草影院免费看夜色| 久久婷婷成人综合色综合| 亚洲国产成人乱码精品女人久久久不卡| 综合网日日天干夜夜久久| 精品综合久久久久久88小说| 热re99久久精品国99热| 久久国产V一级毛多内射| 精品蜜臀久久久久99网站| 亚洲国产成人精品女人久久久 | 久久综合噜噜激激的五月天| 久久精品国产亚洲AV电影| 久久精品国产一区二区 | 色综合久久久久无码专区| 久久综合九色综合久99| 一本久久久久久久| 国产精品久久成人影院| 亚洲第一极品精品无码久久 | 久久久久久综合一区中文字幕 | 久久夜色精品国产亚洲av| 国产国产成人精品久久| 99久久无码一区人妻a黑| 亚洲AV无一区二区三区久久 | 久久这里有精品视频| 久久久精品日本一区二区三区 | 久久免费高清视频| 国产三级久久久精品麻豆三级 | 国产精品综合久久第一页| 国产午夜久久影院| 久久97精品久久久久久久不卡| 久久精品国产99久久久| A狠狠久久蜜臀婷色中文网| 国产精品禁18久久久夂久|