安装交叉编译器出问题了,
./arm-2010q1-202-arm-none-linux-gnueabi.bin
错误信息如下;
Checking for required programs: awk grep sed bzip2 gunzip
===============================================================
Error: DASH shell not supported as system shell
===============================================================
The installer has detected that your system uses the dash shell
as /bin/sh. This shell is not supported by the installer.
You can work around this problem by changing /bin/sh to be a
symbolic link to a supported shell such as bash.
For example, on Ubuntu systems, execute this shell command:
% sudo dpkg-reconfigure -plow dash
Install as /bin/sh? No
Please refer to the Getting Started guide for more information,
or contact CodeSourcery Support for assistance.
Ubuntu下sh默认指向dash 。
echo $SHELL --> /bin/bash
type sh --> /bin/sh
然后我到/bin下看了有"sh -> dash",原来sh是/bin/dash的链接。
后来google了一下才发现,buntu6.10已将先前默认的bashshell更换为了dash。其表现是/bin/sh链接到了/bin/dash而不是传统的/bin/bash。
bash - GNU Bourne-Again SHell
dash - Debian Almquist Shell
可以分别man bash / man dash看一下。
那么怎么把sh改为指向bash呢?
最暴力的方法当然是直接把/bin/sh的软链接改到bash中,
如:ln -s /bin/bash /bin/sh
但是,有优雅一些的方法,
sudo dpkg-reconfigure dash
出现菜单问你是否要dash的时候,选no就可以了。
分享到:
相关推荐
arm-linux-gcc交叉编译器 4.3.2 part1 arm-linux-gcc-4.3.2.tgz.aa 需要与part2 arm-linux-gcc-4.3.2.tgz.ab 合并成arm-linux-gcc-4.3.2.tgz 。 版本4.3.2,用于Linux下的ARM开发。 安装方法: 0. cat arm-linux-gcc...
arm-linux-gcc交叉编译器,版本4.3.2,用于Linux下的ARM开发。 本文件为arm-linux-gcc-4.3.2.tgz的part2 arm-linux-gcc-4.3.2.tgz.ab,需要与arm-linux-gcc-4.3.2.tgz的part1 arm-linux-gcc-4.3.2.tgz.aa 合并成一个...
arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu 是由 CodeSourcery 公司基于...arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2.7z交叉编译器必须安装在32为主机上,才能编译目标代码。
边缘检测_OpenCV在Zedboard上的移植 ...cp /home/z/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/arm-xilinx-linux-gnueabi/libc/usr/lib/libstdc++.so* /home/esion/zed/opencv-2.4.10/install/lib
代码源 ZYNQ交叉编译工具链
linux下用eclipse+codesourcery 的ucosIII在stm32上的例子
arm-none-linux-gnueabi-gcc是 Codesourcery 公司(目前已经被Mentor收购)基于GCC推出的的ARM交叉编译工具。可用于交叉编译ARM系统中所有环节的代码,包括裸机程序、u-boot、Linux kernel、filesystem和App应用程序...
编译好的交叉编译工具,gcc版本为4.9.1,支持64位机。
Realview MDK中编译器对中断处理的过程详解.pdf Realview MDK中调试脚本的详细解析.pdf Realview MDK中链接脚本详细解析.pdf RealView MDK使用小技巧(二).pdf RealView MDK在链接时提示空间不够的解决方案总结.pdf...
Realview MDK中编译器对中断处理的过程详解.pdf Realview MDK中调试脚本的详细解析.pdf Realview MDK中链接脚本详细解析.pdf RealView MDK使用小技巧(二).pdf RealView MDK在链接时提示空间不够的解决方案总结.pdf...
推荐阅读顺序: 获取串行访问: : 交叉编译/codesourcery-lite.txt 为 ARM 和 U-Boot 内核构建准备交叉编译uboot/custom_u-boot.txt 编译新的 U-Boot 和引导加载程序选项rootfs/mdadm-static-compile.txt 为 RAID-1...
arm-none-linux-gnueabi-gcc是 Codesourcery 公司(目前已经被Mentor收购)基于GCC推出的的ARM交叉编译工具。可用于交叉编译ARM系统中所有环节的代码,包括裸机程序、u-boot、Linux kernel、filesystem和App应用程序...
用于Linux和Windows 10的带有VScode和Platformio的STM32模板使用STM32VLDISCOVERY板,STM32F407发现板,Nucleo STM32-L433RC-P板和Nucleo STM... 不要使用“ book.pdf”的方法来安装codesourcery GNU Toolchain工具!
arm-linux-gcc,好不容易找到的,大家可以自行下载试试
CodeSourcery Sourcery_G++ 编译工具 RT_Thread 工具 GNU GCC 工具
CodeSourcery Sourcery_G++ 编译工具 RT_Thread 工具 GNU GCC 工具
CodeSourcery Sourcery_G++ 编译工具 RT_Thread 工具 GNU GCC 工具
CodeSourcery Sourcery_G++ 编译工具 RT_Thread 工具 GNU GCC 工具
BOOK4=C:\Program Files\CodeSourcery\Sourcery G++ Lite\share\doc\arm-2007q3-53-arm-none-eabi\pdf\gcc\gcc.pdf("GNU C Compiler",GEN) BOOK5=C:\Program Files\CodeSourcery\Sourcery G++ Lite\share\doc\arm-...
CodeSourcery ASCII BIG5 HTML LKK SK-II Holle am i dowload your file i want to source code