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

            天衣有縫

            冠蓋滿京華,斯人獨憔悴~
            posts - 35, comments - 115, trackbacks - 0, articles - 0
               :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            發布精簡版cygwin-2009.iso

            Posted on 2009-01-06 19:46 天衣有縫 閱讀(8632) 評論(7)  編輯 收藏 引用 所屬分類: os stuff
            下載地址:http://jinix.sf.net

            (1)cygwin 2009:集成gcc-4.3.2,rxvt,非常適合一般的編程開發,集成iso僅58M
            (2)i686-elf的cygwin toolchain,工具鏈版本:gcc-4.3.2, binutils-2.19, glibc-2.7,測試正常工作
            以此工具鏈編譯最新的linux內核2.6.28工作正常,kernel打一些補丁:
                cd linux-2.6.28
                sed -i 's/R_386_32/1/' ./scripts/mod/modpost.c
                sed -i 's/R_386_PC32/2/' ./scripts/mod/modpost.c
                sed -i 's/R_ARM_ABS32/2/' ./scripts/mod/modpost.c
                sed -i 's/R_ARM_PC24/1/' ./scripts/mod/modpost.c
                sed -i 's/R_MIPS_HI16/5/' ./scripts/mod/modpost.c
                sed -i 's/R_MIPS_LO16/6/' ./scripts/mod/modpost.c
                sed -i 's/R_MIPS_26/4/' ./scripts/mod/modpost.c
                sed -i 's/R_MIPS_32/2/' ./scripts/mod/modpost.c

                sed -i 's/STT_COMMON/5/g' ./arch/x86/boot/compressed/relocs.c

                sed -i 's/STV_DEFAULT/0/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/STV_INTERNAL/1/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/STV_HIDDEN/2/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/STV_PROTECTED/3/g' ./arch/x86/boot/compressed/relocs.c

                sed -i 's/R_386_NONE/0/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_32/1/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_PC32/2/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_GOT32/3/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_PLT32/4/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_COPY/5/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_GLOB_DAT/6/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_JMP_SLOT/7/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_RELATIVE/8/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_GOTOFF/9/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_GOTPC/10/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/R_386_NUM/11/g' ./arch/x86/boot/compressed/relocs.c

                sed -i 's/ELF32_ST_VISIBILITY(sym->st_other)/sym->st_other \& 0x03/g' ./arch/x86/boot/compressed/relocs.c
                sed -i 's/else rm -f $(@D)\/.tmp_$(@F); exit 1;/else mv -f $(@D)\/.tmp_$(@F) $@;/' ./arch/x86/vdso/Makefile

            menuconfig中把netfilter去掉,里面有一些文件名一樣(大小寫不一樣),ipv6也去掉,編譯的elf文件正常。

            上海漕河涇
            2009.01.06


            Feedback

            # re: 發布精簡版cygwin-2009.iso  回復  更多評論   

            2009-01-06 20:52 by
            謝謝.

            # re: 發布精簡版cygwin-2009.iso[未登錄]  回復  更多評論   

            2009-01-08 12:40 by kenlistian
            謝謝提供,安裝上看看

            # re: 發布精簡版cygwin-2009.iso[未登錄]  回復  更多評論   

            2009-01-09 10:33 by th
            這個好東西啊,謝謝樓主

            # re: 發布精簡版cygwin-2009.iso  回復  更多評論   

            2009-01-09 10:52 by 浪跡天涯
            mark

            # re: 發布精簡版cygwin-2009.iso[未登錄]  回復  更多評論   

            2009-02-05 15:53 by a
            有as和ld嗎?
            我想實踐一下那個《自己動手寫內核》!

            # re: 發布精簡版cygwin-2009.iso  回復  更多評論   

            2009-11-05 15:19 by ruki
            我也在 上海漕河涇 呵呵。。。

            # re: 發布精簡版cygwin-2009.iso  回復  更多評論   

            2010-02-28 15:51 by GGD
            make在哪兒?
            久久精品国产精品亚洲精品| 久久99久国产麻精品66| 99久久免费国产特黄| 久久精品国产91久久综合麻豆自制 | www久久久天天com| 精品国产91久久久久久久a | 久久婷婷色香五月综合激情| 婷婷综合久久中文字幕蜜桃三电影| 精品人妻久久久久久888| 久久国产香蕉视频| 国产综合久久久久| 久久久精品国产免大香伊| 精品久久久久久国产三级| 久久精品国产清高在天天线| 色婷婷狠狠久久综合五月| 9999国产精品欧美久久久久久| 久久久SS麻豆欧美国产日韩| 久久精品国产亚洲7777| 2022年国产精品久久久久| 久久天天躁狠狠躁夜夜2020一 | 97久久国产亚洲精品超碰热 | 丁香狠狠色婷婷久久综合| 久久久久久久久久久久久久 | 亚洲午夜无码久久久久小说| 国产精品免费久久久久电影网| 性欧美大战久久久久久久久| 久久99热这里只有精品66| 久久精品三级视频| 香蕉久久一区二区不卡无毒影院| 热re99久久精品国99热| 久久人人爽人人爽人人片av高请| 久久精品国产欧美日韩99热| 欧美久久天天综合香蕉伊| 精品久久人人爽天天玩人人妻| 一级做a爰片久久毛片人呢| 久久综合欧美成人| 99久久免费国产精品| 久久亚洲欧洲国产综合| 亚洲v国产v天堂a无码久久| 四虎久久影院| 中文精品久久久久人妻|