“Buildroot Toolchain”的版本间的差异
来自百问网嵌入式Linux wiki
第71行: | 第71行: | ||
==工具链下载地址== | ==工具链下载地址== | ||
https://releases.linaro.org/components/toolchain/binaries/ | https://releases.linaro.org/components/toolchain/binaries/ | ||
+ | [[Category:rootfs]] | ||
+ | [[Category:buildroot]] |
2019年1月9日 (三) 14:32的版本
此页面主要介绍如何使用buildroot配置内部交叉编译工具链,以及外部交叉编译工具链,还有如何添加自己的交叉编译工具链!
配置工具链
Toolchain type (External toolchain) --->
( ) Buildroot toolchain ( ) External toolchain
自动构建工具链
(X) Buildroot toolchain
Toolchain type (Buildroot toolchain) ---> *** Toolchain Buildroot Options *** (100ask) custom toolchain vendor name C library (glibc) ---> *** Kernel Header Options *** Kernel Headers (Same as kernel being built) ---> Custom kernel headers series (4.1.x) ---> glibc version (2.23) ---> *** Binutils Options *** Binutils Version (binutils 2.26.1) ---> () Additional binutils options *** GCC Options *** GCC compiler Version (gcc 5.x) ---> () Additional gcc options [*] Enable C++ support [ ] Enable Fortran support [ ] Enable compiler link-time-optimization support [ ] Enable compiler OpenMP support [ ] Enable graphite support *** Host GDB Options *** [ ] Build cross gdb for the host *** Toolchain Generic Options *** [ ] Copy gconv libraries [*] Enable MMU support () Target Optimizations () Target linker options [ ] Register toolchain within Eclipse Buildroot plug-in
外部交叉编译工具链配置=
(X) External toolchain
Toolchain type (External toolchain) ---> *** Toolchain External Options *** Toolchain (Custom toolchain) ---> Toolchain origin (Toolchain to be downloaded and installed) ---> (https://publishing-ap-linaro-org.s3.amazonaws.com/...) ($(ARCH)-linux-gnueabihf) Toolchain prefix External toolchain gcc version (5.x) ---> External toolchain kernel headers series (4.0.x) ---> External toolchain C library (glibc/eglibc) ---> [*] Toolchain has SSP support? [*] Toolchain has RPC support? [*] Toolchain has C++ support? () Extra toolchain libraries to be copied to target [ ] Copy gdb server to the Target *** Host GDB Options *** [ ] Build cross gdb for the host *** Toolchain Generic Options *** [ ] Copy gconv libraries [*] Enable MMU support () Target Optimizations () Target linker options [ ] Register toolchain within Eclipse Buildroot plug-in