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

            欧美午夜A∨大片久久| 久久夜色精品国产网站| 久久久精品一区二区三区| 国产精品一区二区久久精品| 精品久久久久久无码人妻热| 亚洲中文字幕久久精品无码APP| 91视频国产91久久久| 久久精品国产精品亚洲| 色8久久人人97超碰香蕉987| 精品人妻伦一二三区久久| 国产成人精品三上悠亚久久| AA级片免费看视频久久| 久久综合香蕉国产蜜臀AV| 久久99精品久久久久久水蜜桃| 97精品依人久久久大香线蕉97| 欧美伊香蕉久久综合类网站| 婷婷五月深深久久精品| 日本精品久久久久影院日本| 国产精品视频久久久| 97久久国产露脸精品国产| 久久久久国产精品麻豆AR影院| 99久久超碰中文字幕伊人| 久久精品国产亚洲AV影院| 久久青青国产| 亚洲成色999久久网站| 亚洲国产精品无码久久久秋霞2| 久久影视综合亚洲| 99久久综合狠狠综合久久| 国内精品久久久久| 久久99精品久久久久久久久久| 亚洲精品无码专区久久久| 久久久精品日本一区二区三区 | 综合网日日天干夜夜久久| 久久久这里有精品中文字幕| 88久久精品无码一区二区毛片| 99久久777色| 亚洲一区中文字幕久久| 国产69精品久久久久99尤物| 久久影视综合亚洲| 2020久久精品亚洲热综合一本| 亚洲欧美一区二区三区久久|