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

            久久精品国产精品亚洲| 久久久久亚洲av成人无码电影| 亚洲va久久久噜噜噜久久狠狠| 7777久久久国产精品消防器材| 久久影院综合精品| 99久久免费只有精品国产| 久久久久久午夜精品| 久久精品国产亚洲av影院| 久久久久久久国产免费看| 久久精品欧美日韩精品| 无码乱码观看精品久久| 国产精品久久99| 无码伊人66久久大杳蕉网站谷歌 | 怡红院日本一道日本久久 | 久久久久久久91精品免费观看| 久久久久亚洲AV无码专区体验| 国产99久久久国产精品~~牛 | 精品久久久久久国产潘金莲| 日本精品久久久久久久久免费| 久久精品国产亚洲综合色| 久久综合狠狠综合久久综合88| 伊人久久大香线蕉AV一区二区 | 99久久99久久| 久久精品国产亚洲AV麻豆网站| 久久久精品国产免大香伊| 亚洲国产精品无码久久青草| 国产精品丝袜久久久久久不卡| 精品久久久噜噜噜久久久| 久久亚洲精品国产精品| 伊人久久大香线蕉综合影院首页 | 日韩人妻无码精品久久免费一| 欧美激情精品久久久久久| 久久亚洲中文字幕精品一区| 久久综合欧美成人| 久久99精品久久久久久久不卡 | 国产成人99久久亚洲综合精品 | 精品久久久无码人妻中文字幕 | 亚洲午夜无码AV毛片久久| 久久久国产视频| 久久久久久国产精品美女| 亚洲精品乱码久久久久久按摩|