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

            輕重緩急

            成功來源于有效的自我管理。
            隨筆 - 14, 文章 - 3, 評論 - 3, 引用 - 0
            數(shù)據(jù)加載中……

            重獲自主

            人生不過是一場游戲一場夢

            人與人之間不過是逢場作戲,重要的是:假戲真唱。

            四海為家,隨遇而安吧。

            posted @ 2008-06-30 11:30 隨遇而安 閱讀(120) | 評論 (0)編輯 收藏

            !常用命令

            使用set 命令顯示所有本地定義的s h e l l變量。
            全用env顯示所有的環(huán)境變量


            unset LC_MESSAGES  刪除環(huán)境變量, 或者本地變量

            readonly variable-name  將變量設(shè)為只讀.

            readonly
            顯示所有本地只讀變量.

            export只能在父子進(jìn)程之間起作用.

            basename 只返回文件名,去除路徑名



            posted @ 2008-04-28 16:51 隨遇而安 閱讀(121) | 評論 (0)編輯 收藏

            How to use ar comman under AIX system

            The ar command maintains the indexed libraries used by the linkage editor.
            ar 命令可用于維護(hù) indexed libraries, indexed libraries通常被鏈接器使用, 用于和其它object文件進(jìn)行鏈接.
            The ar command combines one or more named files into a single archive file written in ar archive format.
            ar命令組合一個或者多個命名的文件到單個歸檔文件

             In an ar command, you can specify any number of optional flags from the set cClosTv.
            ar命令可以指定參數(shù)集cClosTv中的0或多個.
            You must specify one flag from the set of flags dhmopqrstwx.
            ar命令必須指定參數(shù)集dhmopqrstwx中的1或多個.

            If you select the -m or -r flag, you may also specify a positioning flag (-a, -b, or -i);
            如果你指定了-m or -r, 你也許需要指定(-a, -b, or -i)

            for the -a, -b, or -i flags, you must also specify the name of a file within ArchiveFile (PositionName), immediately following the flag list and separated from it by a blank.

            如果指定了 -a -b -i,你一定要指定一個在歸檔文件中的命名文件(即已經(jīng)歸檔的object文件名)
            并且用空格分隔歸檔文件名和命名文件名.

            //第一類
            -m 移到一個已經(jīng)歸檔的object文件到某個位置.默認(rèn)為移動到最后.你可以使用 -a -b -i 指定位置.
            -a  移到一個已經(jīng)歸檔的object文件到指定object文件之后
            -b  移到一個已經(jīng)歸檔的object文件到指定object文件之后
            -i  移到一個已經(jīng)歸檔的object文件到指定object文件之后,和-b相同.

            //第二類
            -d 刪除一個已經(jīng)歸檔的object文件
            -r  替換一個已經(jīng)歸檔的object文件.
                如果不存在就加入, 你可以通過abi指定位置, 可以默認(rèn)加到最后.
            -q    把一個object文件加到歸檔文件最后,如果你加入兩次,歸檔文件中就會存在兩次,它不會替換舊的.

            //第三類
            -c 壓制信息輸出
            -v 把庫的詳細(xì)內(nèi)容輸出到標(biāo)準(zhǔn)輸出.


            /*以下兩個不長用*/
            -C Prevents extracted files from replacing like-named files in the file system.
            -T本用于把長文件名截?cái)? 但已經(jīng)無用.

            //第四類
            -l  把此命令的臨時文件放到指定位置.
            -x 拷貝命名文件夾到當(dāng)前目錄, 如果不指定, 它會拷貝所有文件到當(dāng)前目錄.
            -z 在ar命令工作期間,使用臨時拷貝,而不是源庫, 當(dāng)ar命令結(jié)束時,使用臨時拷貝替換源庫.

            //第五類
            -p
            -h 更新時間
            -t 把庫的內(nèi)容寫到標(biāo)準(zhǔn)輸出.
            -w 顯示符號表, 每個符號都顯示所屬文件名

            //第六類
            -s 強(qiáng)制重新生成符號表.不論當(dāng)前的ar命令是否改變了歸檔文件.
            -u 只拷貝最近更新的文件.

            -X mode
               指定ar 命令應(yīng)當(dāng)檢查的object 文件的類型,
               32
               64
               32_64
               默認(rèn)為32, 你也可能通過學(xué)習(xí)OBJECT_MODE環(huán)境變量來指定.


            Usage: {}必選一個   []可選.

                    ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-h|p|t|x}
                            [--] Archive [File ...]
                    ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-m|r[u]}
                            [{-a|b|i} {PositionName}] [--] Archive File ...
                    ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-d|q}
                            [--] Archive File ...
                    ar [-X{32|64|32_64|d64|any}] [-clvCT] {-g|o|s|w} [--] Archive



            ar -X64 -t libifms.a
            顯示庫的內(nèi)容.like ls

            ar -X64 -vt libifms.a
            顯示庫的詳細(xì)內(nèi)容like ls-l

            ar -X64 -w libifms.a string.o
            顯示符號表.


               
               




             

            posted @ 2008-02-19 12:25 隨遇而安 閱讀(1174) | 評論 (0)編輯 收藏

            How to use the debug tool dbx under AIX system.

            1. You must compile your binary objects with -g option firstly.
            2. link your objects to a executable program.
            3. dbx -I /home/path1  -I /home/path2 .....
                to specify all source code path, so that dbx can find the relevant source code and dispay it for you.

            4.dbx shows a prompt:
               enter object file name (default is `a.out', ^D to exit):
               enter the program name.
            5. now you can use below command to debug you program.

               stop at  43/*line number*/ /*set break point*/
               clear /*remove all break points*/
               cont /*continue the execution of the program*/
               next /*run to next line*/
               step /*step in*/
               run
               rerun
               print /*print the content of a variable*/
               file /*show current source file name, you can use the command to specify a new source file*/
               where /*show the function calling stack*/



             

            posted @ 2008-02-19 10:55 隨遇而安 閱讀(460) | 評論 (0)編輯 收藏

            僅列出標(biāo)題
            共2頁: 1 2 
            久久99精品久久久久婷婷| 国产一区二区三精品久久久无广告| 精品久久久久国产免费| 久久伊人影视| 亚洲va久久久噜噜噜久久| 久久精品国产亚洲77777| 2021国产成人精品久久| 久久午夜福利无码1000合集| 精品久久久久久无码专区| 久久国产福利免费| 久久人人爽人人爽人人AV| 四虎国产精品免费久久5151 | 久久精品国产99国产电影网| 精品久久久久久无码中文野结衣| 久久亚洲AV无码精品色午夜麻豆 | 久久国产色AV免费看| 国産精品久久久久久久| 2022年国产精品久久久久| 中文字幕无码久久人妻| 韩国三级大全久久网站| 久久人人爽人人爽人人片av麻烦 | 久久免费视频6| 国产精品99精品久久免费| 久久精品国产免费观看三人同眠| 久久精品国产清自在天天线| 狠狠色丁香婷婷久久综合不卡 | 久久福利青草精品资源站| 三级三级久久三级久久| 久久99久久成人免费播放| 久久国产高潮流白浆免费观看| 久久香蕉国产线看观看猫咪?v| 国产精品日韩欧美久久综合| 国产精品一区二区久久| 97久久精品午夜一区二区| 69久久夜色精品国产69| 久久久久四虎国产精品| 欧美一区二区精品久久| 7国产欧美日韩综合天堂中文久久久久 | 久久人妻少妇嫩草AV蜜桃| 热RE99久久精品国产66热| 国产福利电影一区二区三区久久老子无码午夜伦不 |