Ubuntu使用日志2(在Eclipse中搭建C++交叉编译环境)
来源:互联网 发布:淘宝锋利小刀 编辑:程序博客网 时间:2024/05/02 02:11
Release用交叉编译:arm-none-linux-gnueabi-gcc。搭建步骤:
1).在Project->Properties->C/C++ Build->Settings,Configure改到Release下,在GCC C Compiler和
GCC C Linker的Command中:填入arm-none-linux-gnueabi-gcc;
2).按这个步骤来操作:http://blog.csdn.net/oqidian12345/article/details/8968078;
3).按照2中操作完成后,可能还不成功,提示找不到arm-none-linux-gnueabi-gcc,原因是在64位Ubunbu
下要按照32位的一些库。
但32位库的下载链接很多已经失效了,按照http://tieba.baidu.com/p/2245543310安装新立德软件管理器,
但是该链接中的ia32-libs也已经失效,有效的链接是:http://cz.archive.ubuntu.com/ubuntu lucid main,按照博文(http://341719xubin.blog.163.com/blog/static/13292079320119583956891/)来操作。
4).安装完成ia32-libs后,按照2)中的方法设置环境变量后,仍然提示找不到交叉编译器,还要在另外一处更改
环境变量:gedit /etc/environment,加入arm-none-linux-gnueabi-gcc所在路径,然后source /etc/environment生效,
重启系统就OK了。
- Ubuntu使用日志2(在Eclipse中搭建C++交叉编译环境)
- 如何在ubuntu中搭建交叉编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu使用eclipse搭建c/c++编译环境----CDT插件
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu 12.04 使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- Ubuntu 12.04 使用Eclipse搭建C/C++编译环境
- 微软宣布它爱 Linux
- Robot 第五周(机体局部动作测试和研究动力学建模)
- 在android中使用achartengine来绘制各种图表
- android输入法中的imeoption
- Ubuntu12.04系统编译Android4.4源码
- Ubuntu使用日志2(在Eclipse中搭建C++交叉编译环境)
- 将ImageView变成灰色竟是如此简单
- android软键盘弹出引起的各种不适终极解决方案
- Android内存管理之道
- 图的存储结构
- android asynHttp下载PDF文件时报空指针
- Android中四大组件
- 关于Android 获得图片的总结
- Android 通过字符串来获取R下面资源的ID 值