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

            久久不见久久见免费影院www日本| 国产精品免费看久久久香蕉| 无码超乳爆乳中文字幕久久| 亚洲精品高清国产一线久久| 波多野结衣中文字幕久久| 99久久99久久精品国产片| 久久亚洲日韩看片无码| 久久香蕉综合色一综合色88| 2021国内精品久久久久久影院| 99久久国产综合精品麻豆| 中文字幕精品无码久久久久久3D日动漫| 久久狠狠爱亚洲综合影院 | 久久精品亚洲乱码伦伦中文| 亚洲欧美成人久久综合中文网| 日韩人妻无码一区二区三区久久 | 成人精品一区二区久久| 久久伊人五月丁香狠狠色| 国产精品99久久久久久猫咪| 亚洲精品乱码久久久久久按摩| 国产精品午夜久久| 久久精品水蜜桃av综合天堂| 久久婷婷色香五月综合激情| 国内精品免费久久影院| 免费观看久久精彩视频| 久久久久人妻一区精品色| 久久久久久久久久久| 久久精品国产第一区二区| 国产成人久久精品麻豆一区| 国内精品久久久久伊人av| 亚洲精品乱码久久久久久| 久久综合亚洲色HEZYO社区| 香蕉久久永久视频| 久久人人爽人人爽AV片| 久久久久无码精品国产app| 国产成人精品久久一区二区三区av| AV无码久久久久不卡网站下载 | 久久人人爽人人爽人人片AV麻烦| 蜜桃麻豆www久久国产精品| 久久久久亚洲AV无码专区桃色 | 999久久久无码国产精品| 久久精品国产亚洲AV麻豆网站 |