用buildroot打造自己的Linux Toolchain
来源:互联网 发布:淘宝精品推荐入口 编辑:程序博客网 时间:2024/05/01 14:57
For quite a long time, building a cross toolchain from the scratch seems like a nightmare to most embedded software engineers. This used to require hanlding a lot of interdependent source packages as well as their patches carefully.
With the assist of buildroot, which is made available along with well-known uclibc, things used to be a mess can be well handled by just a few simple commands.
Below is my attempt to build an arm toolchain:
1) Download the latest buildroot snapshot from uclibc.org. Like all other packages offered by uclibc, it has a fantastic DAILY snapshot.
2) Unpack the buildroot snapshot package like this:
# tar -jxvf buildroot-200xxxxxx.tar.bz2
3) Configure the buildroot. This looks quite alike with configuring linux kernel features. For me, I just need an arm toolchain integrated with the lightweight uclibc instead of the heavy glibc. So, I just made some simple changes within the toolchain menu. Probably, buildroot can be used to build other embedded components like linux kernel, busybox, even tinyx.
# make menuconfig
4) Execute the build command. This supposes to take quite a long while to do a batch of traffic jobs like downloading different source packages, applying patches, compling the source code and etc. Please find youself a favorite computer game to kill the time..
# make
5) Finally, if everything is all right, you will have your toolchain in the build_arm sub-folder. To make the toolchain work, probably you have to add the path that contains the executable files like arm-linux-gcc, arm-linux-g++ into your $PATH environment.
Enjoy it.
With the assist of buildroot, which is made available along with well-known uclibc, things used to be a mess can be well handled by just a few simple commands.
Below is my attempt to build an arm toolchain:
1) Download the latest buildroot snapshot from uclibc.org. Like all other packages offered by uclibc, it has a fantastic DAILY snapshot.
2) Unpack the buildroot snapshot package like this:
# tar -jxvf buildroot-200xxxxxx.tar.bz2
3) Configure the buildroot. This looks quite alike with configuring linux kernel features. For me, I just need an arm toolchain integrated with the lightweight uclibc instead of the heavy glibc. So, I just made some simple changes within the toolchain menu. Probably, buildroot can be used to build other embedded components like linux kernel, busybox, even tinyx.
# make menuconfig
4) Execute the build command. This supposes to take quite a long while to do a batch of traffic jobs like downloading different source packages, applying patches, compling the source code and etc. Please find youself a favorite computer game to kill the time..
# make
5) Finally, if everything is all right, you will have your toolchain in the build_arm sub-folder. To make the toolchain work, probably you have to add the path that contains the executable files like arm-linux-gcc, arm-linux-g++ into your $PATH environment.
Enjoy it.
- 用buildroot打造自己的Linux Toolchain
- Howto用自己的toolchain编译opencore
- 启动自己的linux, everything include toolchain, rootfs, kernel...
- 打造自己linux的bashrc
- 使用LFS打造自己的Linux心得体会
- 手把手打造属于自己的Linux系统!
- 手把手打造属于自己的Linux系统!
- 打造自己的Linux 常用应用软件列表
- 打造自己的 Linux下Android环境
- linux下懒人打造自己的IDE
- linux 安装XBMC打造自己的家庭影院
- linux 下打造自己的 Python IDE
- [VIM]Linux下打造自己的IDE
- Linux Toolchain
- Linux 下 GNU Toolchain 的使用
- linux操作系统实验四--打造自己的Linux发行版
- 【原创】使用buildroot创建自己的交叉编译工具链
- 用Gmail打造自己的网络资料库
- 配置NFS根文件系统
- 制作mipsel-linux交叉编译工具1
- 制作mipsel-linux交叉编译工具2
- 制作mipsel-linux交叉编译工具3
- CORSS_COMPILE
- 用buildroot打造自己的Linux Toolchain
- 嵌入式开发,微软请你走开!
- 读取Nutch爬取的网页内容
- 利用Microsoft Robotics Studio远程控制机器人
- NFS挂载根文件系统
- Linux系统下USB摄像头驱动开发
- 开发工具组合-- Vim + ctags + taglist 篇
- C#关闭excel进程的最有效方法
- [LINUX下软体开发者必备利器] ctags使用简介