• <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麻豆小说| 青青青青久久精品国产h| 久久国产福利免费| 国产精品99久久久精品无码| 久久国产精品无码一区二区三区| 久久国产成人精品麻豆| 久久久亚洲AV波多野结衣| 久久精品这里热有精品| 色综合合久久天天给综看| 97久久国产亚洲精品超碰热| 狠狠色丁香婷婷久久综合| 久久九九免费高清视频| 久久综合综合久久狠狠狠97色88| 亚洲欧美精品一区久久中文字幕| 国产香蕉97碰碰久久人人| 久久精品国产99国产精品导航| 欧美日韩中文字幕久久伊人| 7777久久久国产精品消防器材| 99久久国产亚洲高清观看2024| 久久99精品久久久久久hb无码 | 亚洲精品国产第一综合99久久| 久久综合久久综合九色| 久久久久亚洲AV成人网人人网站 | 94久久国产乱子伦精品免费| 亚洲va中文字幕无码久久| 亚洲中文字幕久久精品无码APP| 国产精品一区二区久久精品无码| 国内精品久久久久久中文字幕| 亚洲国产一成人久久精品| 久久大香萑太香蕉av| 久久影视综合亚洲| 久久久久av无码免费网| 一本大道久久香蕉成人网| 热综合一本伊人久久精品| 久久精品免费网站网| 热综合一本伊人久久精品| 日批日出水久久亚洲精品tv| 国产欧美久久久精品影院| 久久亚洲AV无码精品色午夜麻豆| 亚洲欧美日韩精品久久亚洲区| 亚洲国产成人精品91久久久|