• 【DM8168学习笔记3】CodSourcery GCC Tool Chain安装过程记录


    eagle@eagle-desktop:~$ cd/home/eagle/desktop

    eagle@eagle-desktop:~/desktop$ cd./vboxshared

    eagle@eagle-desktop:~/desktop/vboxshared$ ls

    arm-2009q1-203-arm-none-linux-gnueabi.bin

    ezsdk_dm816x-evm_5_05_02_00_setuplinux

    eagle@eagle-desktop:~/desktop/vboxshared$ sudo./arm-2009q1-203-arm-none-linux-gnueabi.bin

    [sudo] password for eagle:

    The installer has detected that your system uses the dashshell

    as /bin/sh.  This shell is not supportedby the installer.

    You can work around this problem by changing /bin/sh to bea

    symbolic link to a supported shell such asbash.

    For example, on Ubuntu systems, execute this shellcommand:

       % sudodpkg-reconfigure -plow dash

       Install as /bin/sh?No

    Please refer to the Getting Started guide for moreinformation,

    or contact CodeSourcery Support for assistance.

    eagle@eagle-desktop:~/desktop/vboxshared$ sudo dpkg-reconfigure -plow dash

    #"否"。重新配置shell,使其不作为默认shell工具

    正在删除 diversion of /bin/sh to /bin/sh.distrib bydash

    正在添加 diversion of /bin/sh to /bin/sh.distrib bybash

    正在删除 diversion of /usr/share/man/man1/sh.1.gz to/usr/share/man/man1/sh.distrib.1.gz by dash

    正在添加 diversion of /usr/share/man/man1/sh.1.gz to/usr/share/man/man1/sh.distrib.1.gz by bash

    eagle@eagle-desktop:~/desktop/vboxshared$ sudo./arm-2009q1-203-arm-none-linux-gnueabi.bin

    Preparing to install...

    Extracting the JRE from the installerarchive...

    Unpacking the JRE...

    Extracting the installation resources from the installerarchive...

    Configuring the installer for this system'senvironment...

     

    Launching installer...

     

    eagle@eagle-desktop:~/desktop/vboxshared$

    【DM8168】CodSourcery <wbr>GCC <wbr>Tool <wbr>Chain安装过程记录

     【DM8168】CodSourcery <wbr>GCC <wbr>Tool <wbr>Chain安装过程记录

    eagle@eagle-desktop:~$ sudo gedit /etc/environment

    #添加路径 :/home/eagle/CodeSourcery/Sourcery_G++_Lite/bin

    [sudo] password for eagle:

    '/home/eagle/CodeSourcery/Sourcery_G++_Lite/bin'eagle@eagle-desktop:~$ '/home/eclear

    eagle@eagle-desktop:~$ source /etc/environment

    eagle@eagle-desktop:~$  arm-none-linux-gnueabi-gcc -v

    Using built-in specs.

    Target: arm-none-linux-gnueabi

    Configured with:/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/src/gcc-4.3/configure--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu--target=arm-none-linux-gnueabi --enable-threads--disable-libmudflap --disable-libssp --disable-libstdcxx-pch--with-gnu-as --with-gnu-ld--with-specs='%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}'--enable-languages=c,c++ --enable-shared --enable-symvers=gnu--enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite2009q1-203'--with-bugurl=https://support.codesourcery.com/GNUToolchain/--disable-nls --prefix=/opt/codesourcery--with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc--with-build-sysroot=/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/install/arm-none-linux-gnueabi/libc--with-gmp=/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/host-libs-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr--with-mpfr=/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/obj/host-libs-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr--disable-libgomp --enable-poison-system-directories--with-build-time-tools=/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/install/arm-none-linux-gnueabi/bin--with-build-time-tools=/scratch/mitchell/builds/4.3-arm-none-linux-gnueabi-respin/lite/install/arm-none-linux-gnueabi/bin

    Thread model: posix

    gcc version 4.3.3 (Sourcery G++ Lite2009q1-203)

    eagle@eagle-desktop:~$


  • 相关阅读:
    SharePoint 2013 代码实现自定义的站点模版创建Site Collection
    today's learning of english 2
    拉普拉斯变换
    today's learning of english 1
    Kubernetes集群(RKE)安装ArgoCD排坑
    Jenkins Maven镜像Surefire插件运行失败
    Jenkins加载Spring扩展库出错排查
    Elasticsearch BM25相关度评分算法超详细解释
    简单方便的堡垒机自动登录脚本
    完美的Vim学习体验:VimReference
  • 原文地址:https://www.cnblogs.com/eaglediao/p/7136516.html
Copyright © 2020-2023  润新知