crosstool-ng 交叉编译arm-linux-gcc记录 下载本文

内容发布更新时间 : 2024/12/23 7:01:07星期一 下面是文章的全部内容请认真阅读。

crosstool-ng 交叉编译arm-linux-gcc记录

最新i7 6700k,27分钟完成编译,听网上有人说要2个小时,不知道他的是不是十年前的电脑,或者根本不会用并行编译。

guitarhua@ubuntu:/opt/gcc-5.4.0-build$ ct-ng build [INFO ] Performing some trivial sanity checks [INFO ] Build started 20160918.083143 [INFO ] Building environment variables [EXTRA] Preparing working directories [EXTRA] Installing user-supplied crosstool-NG configuration [EXTRA]

=================================================================

[EXTRA] Dumping internal crosstool-NG configuration [EXTRA] Building a toolchain for: [EXTRA] build = i686-pc-linux-gnu [EXTRA] host = i686-pc-linux-gnu [EXTRA] target = armv6-hes-linux-gnueabihf [EXTRA] Dumping internal crosstool-NG configuration: done in 0.04s (at 00:03)

[INFO ]

=================================================================

[INFO ] Retrieving needed toolchain components' tarballs [INFO ] Retrieving needed toolchain components' tarballs: done in 0.05s (at 00:03) [INFO ]

=================================================================

[INFO ] Extracting and patching toolchain components [INFO ] Extracting and patching toolchain components: done in 2.11s (at 00:05) [INFO ]

================================================================= [INFO ] Installing ncurses for build [EXTRA] Configuring ncurses [EXTRA] Building ncurses [EXTRA] Installing ncurses

[INFO ] Installing ncurses for build: done in 19.45s (at 00:25) [INFO ]

================================================================= [INFO ] Installing GMP for host [EXTRA] Configuring GMP [EXTRA] Building GMP [EXTRA] Installing GMP

[INFO ] Installing GMP for host: done in 30.98s (at 00:56) [INFO ]

================================================================= [INFO ] Installing MPFR for host [EXTRA] Configuring MPFR [EXTRA] Building MPFR [EXTRA] Installing MPFR

[INFO ] Installing MPFR for host: done in 15.11s (at 01:11) [INFO ]

================================================================= [INFO ] Installing ISL for host [EXTRA] Configuring ISL [EXTRA] Building ISL