zoukankan      html  css  js  c++  java
  • 【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:~$


  • 相关阅读:
    DataTables中自增序号的实现
    MVC中调用模态框之后导致JS失效
    teamviewer13破解版
    屏幕录制专家破解版
    Navicat Premium 12 (内含破解补丁)
    Navicat新建连接出现10060 "Unknown error" 错误
    Windows添加永久路由
    VMware虚拟机下Linux网络配置——桥接模式
    文件基本属性
    ifconfig: command not found
  • 原文地址:https://www.cnblogs.com/eaglediao/p/7136516.html
Copyright © 2011-2022 走看看