• <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 閱讀(283) 評論(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色| 亚洲午夜久久久精品影院| 2021国内久久精品| jizzjizz国产精品久久| 久久国产成人午夜AV影院| 囯产极品美女高潮无套久久久| 狠狠色丁香久久综合婷婷| 久久久久国产一区二区 | 九九久久99综合一区二区| 狠狠色综合网站久久久久久久| 久久久久久久久久久久久久| 久久se精品一区精品二区| 中文字幕日本人妻久久久免费 | 色老头网站久久网| 亚洲中文字幕无码久久精品1| 99久久er这里只有精品18| 国产精品亚洲综合专区片高清久久久| 亚洲国产成人精品91久久久| 久久青草国产精品一区| 国产色综合久久无码有码| 色综合合久久天天给综看| 日本道色综合久久影院| 国产情侣久久久久aⅴ免费| 中文无码久久精品| 成人午夜精品无码区久久| 日日狠狠久久偷偷色综合96蜜桃| 国产精品无码久久综合| 亚洲国产精品无码久久久不卡| 99久久综合国产精品免费| 久久最新免费视频| 国产精品美女久久久免费| AAA级久久久精品无码区| 色综合久久综精品| 777久久精品一区二区三区无码| AV无码久久久久不卡蜜桃| 国产精品99精品久久免费| 国产成人久久激情91| 精品综合久久久久久97超人| 国产精品免费久久久久电影网| 国产午夜福利精品久久| 久久久久97国产精华液好用吗|