在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误

安装时提示错误,Your 64-bit Linux host is missing the 32-bit libraries requied to install and use Sourcery CodeBench

在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误_第1张图片

这时需要安装32位模拟器

sudo apt-get install ia32-libs

继续安装codesourcery(在运行之前需把arm-2013.11-xxx.bin添加运行属性,用命令 chmod +x arm-2013.11-xxx.bin ,这样它的名字变成绿色的了)

在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误_第2张图片

 

这样就可以了。

 

安装完之后如果需要再安装JLINK调试什么的就继续

1. openocd

sudo apt-get install openocd

2. Jlink Linux驱动

去SEGGER官网下载deb包双击安装就可以咯

在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误_第3张图片

或者3.STLINK驱动

按这个地址上写的去做即可了:https://github.com/texane/stlink

$ ./autogen.sh
$ ./configure
$ make

 

see?

安装了segger jlink驱动后

在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误_第4张图片

安装了stlinkv2驱动后

在Ubuntu 12.04 - 64bit中安装CodeSourcery时提示错误_第5张图片

你可能感兴趣的:(ubuntu,12.04)