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

            国产麻豆精品久久一二三| 91精品国产高清久久久久久国产嫩草 | 亚洲AV无码久久精品蜜桃| 国产亚洲精久久久久久无码77777| 久久受www免费人成_看片中文 | 久久精品无码专区免费青青| 激情伊人五月天久久综合| 国产精品成人无码久久久久久 | 99久久精品日本一区二区免费| 品成人欧美大片久久国产欧美...| 欧美成a人片免费看久久| 无码人妻精品一区二区三区久久 | 国产成人久久精品麻豆一区| 亚洲va久久久久| 亚洲国产精品热久久| 久久久无码精品亚洲日韩京东传媒 | 久久人妻少妇嫩草AV蜜桃| 国产精品一区二区久久精品| 亚洲欧洲精品成人久久曰影片| 狠狠狠色丁香婷婷综合久久俺| 伊人久久大香线焦AV综合影院| 久久人人爽人爽人人爽av| 欧美精品一区二区精品久久| 久久久久波多野结衣高潮| 久久亚洲国产精品123区| AAA级久久久精品无码区| 国产国产成人精品久久| 韩国免费A级毛片久久| 国产精品一区二区久久精品涩爱| 狠狠久久综合伊人不卡| 久久精品人人做人人爽电影| 久久久老熟女一区二区三区| 中文精品久久久久人妻不卡| 99久久免费国产精品特黄| 亚洲欧洲精品成人久久奇米网| 久久久网中文字幕| 久久露脸国产精品| 中文字幕精品无码久久久久久3D日动漫 | 午夜精品久久久久久毛片| 精品久久久久成人码免费动漫 | 午夜肉伦伦影院久久精品免费看国产一区二区三区 |