【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:~$


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章