在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 今天使用crosstool制作了arm-linux交叉編譯工具鏈

            今天使用crosstool制作了arm-linux交叉編譯工具鏈

            作者: 時(shí)間:2016-11-09 來源:網(wǎng)絡(luò) 收藏
            今天使用crosstool制作了arm-linux交叉編譯工具鏈,并且成功編譯和運(yùn)行u-boot-1.3.0。
            通過http://www.kegel.com/crosstool/了解crosstool。
            要制作的交叉編譯工具鏈版本為3.3.2。
            具體步驟如下:
            下載crosstool-0.43.tar.gz
            mkdir /home/wxm/crosstool
            cp crosstool-0.43.tar.gz /home/wxm/crosstool
            cd /home/wxm/crosstool
            tar -jxvf crosstool-0.43.tar.gz
            mkdir downloads
            下載源碼包:
            binutils-2.15.tar.bz2
            gcc-3.3.2.tar.gz
            glibc-2.3.2.tar.gz
            glibc-linuxthreads-2.3.2.tar.gz
            linux-2.6.9.tar.bz2
            復(fù)制到/home/wxm/crosstool/downloads
            修改arm.dat
            KERNELCONFIG=`pwd`/arm.config
            TARGET=arm-linux
            TARGET_CFLAGS="-O"
            修改demo-arm.sh:
            #!/bin/sh
            # This script has one line for each known working toolchain
            # for this architecture.Uncomment the one you want.
            # Generated by generate-demo.pl from buildlogs/all.dats.txt
            set -ex
            TARBALLS_DIR=/home/wxm/crosstool/downloads #下載的源碼包存放的路徑
            RESULT_TOP=/home/wxm/crosstool/install #交叉編譯工具來鏈安裝的路徑
            export TARBALLS_DIR RESULT_TOP
            GCC_LANGUAGES="c,c++"
            export GCC_LANGUAGES
            # Really, you should do the mkdir before running this,
            # and chown /opt/crosstool to yourself so you dont need to run as root.
            mkdir -p $RESULT_TOP
            #eval `cat arm.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-2.95.3-glibc-2.2.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-2.95.3-glibc-2.2.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.2.3-glibc-2.2.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.2.3-glibc-2.3.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.2.3-glibc-2.3.2-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.3.6-glibc-2.2.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.3.6-glibc-2.2.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.3.6-glibc-2.3.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.3.6-glibc-2.3.2-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.2.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.2.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.2-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.5-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.6.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-3.4.5-glibc-2.3.6-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.2.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.2-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.5.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.5-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.6.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.0.2-glibc-2.3.6-tls.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.1.0-glibc-2.2.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.1.0-glibc-2.3.2.dat` sh all.sh --notest
            #eval `cat arm.dat gcc-4.1.0-glibc-2.3.2-tls.dat` sh all.sh --notest#注釋
            eval `cat arm.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest #添加此行
            echo Done.
            修改gcc-3.3.2-glibc-2.3.2.dat
            BINUTILS_DIR=binutils-2.15
            GCC_DIR=gcc-3.3.2
            GLIBC_DIR=glibc-2.3.2
            LINUX_DIR=linux-2.6.9
            GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2
            執(zhí)行./demo-arm.sh


            評(píng)論


            技術(shù)專區(qū)

            關(guān)閉