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

            狠狠色丁香婷婷久久综合| 久久久久久久97| 久久国产成人午夜AV影院| 999久久久免费精品国产| 国产一区二区精品久久岳| 女人高潮久久久叫人喷水| 九九精品99久久久香蕉| 久久精品成人影院| 久久亚洲AV成人无码国产| 欧美精品一区二区精品久久| 伊人久久精品无码二区麻豆| 国产成人无码精品久久久免费 | 久久精品中文无码资源站| 久久精品国产99久久久| 青青草国产97免久久费观看| 韩国无遮挡三级久久| 99精品国产99久久久久久97| 国产免费久久精品99久久| 亚洲中文字幕无码一久久区| 久久综合亚洲色HEZYO国产| 国产麻豆精品久久一二三| 久久WWW免费人成一看片| 国内精品久久久久久久亚洲| 久久99亚洲网美利坚合众国| 国产99精品久久| 欧美日韩中文字幕久久久不卡| 久久久久国产| 一本一道久久精品综合| 国产成人久久AV免费| 亚洲精品无码久久久久| 免费久久人人爽人人爽av| 一本大道久久香蕉成人网| 日韩久久无码免费毛片软件| 久久久精品久久久久久 | 久久精品国产男包| 色综合久久夜色精品国产| 久久这里只有精品视频99| 久久国产香蕉一区精品| 欧美亚洲日本久久精品| 久久夜色精品国产亚洲| 亚洲日韩中文无码久久|