This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Successful cross-build on x86_64 and install of gcc (GCC) 7.3.0 on armv4tl-unknown-linux-gnueabi
- From: Aaro Koskinen <aaro dot koskinen at iki dot fi>
- To: gcc at gcc dot gnu dot org
- Cc: Aaro Koskinen <aaro dot koskinen at iki dot fi>
- Date: Tue, 27 Mar 2018 20:25:22 +0000
- Subject: Successful cross-build on x86_64 and install of gcc (GCC) 7.3.0 on armv4tl-unknown-linux-gnueabi
Hi,
Here's a report of a successful build and install of GCC:
$ gcc-7.3.0/config.guess
armv4tl-unknown-linux-gnueabi
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-linux-gnueabi/7.3.0/lto-wrapper
Target: arm-linux-gnueabi
Configured with: /home/aaro/los/work/shared/gcc-7.3.0/configure --build=none --host=arm-linux-gnueabi --target=arm-linux-gnueabi --prefix=/usr --with-sysroot=/ --with-build-sysroot=/home/aaro/los/work/arm/rootfs/arm-linux-gnueabi --disable-nls --disable-bootstrap --enable-languages=c,c++ --with-system-zlib --disable-install-libiberty --enable-shared --disable-static --with-arch=armv4t --with-float=soft
Thread model: posix
gcc version 7.3.0 (GCC)
Due to limitations of the target system GCC was cross-built on x86_64 system.
When installed on the target, the cross-built GCC was able to produce working
binaries of the following non-trivial source packages (compiled natively on
physical target HW):
Python-2.7.14
bc-1.07.1
perl-5.26.1
screen-4.6.2
-- Target environment ---------------------------------------------------------
host: amstrad-e3
distro: los.git rootfs=876cd native=876cd
kernel: Linux 4.16.0-rc6-e3-los_bb8a0
binutils: GNU binutils 2.30
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.27.
zlib: 1.2.11
mpfr: 4.0.1
gmp: 60102
-- Hardware details -----------------------------------------------------------
MemTotal: 28080 kB
processor : 0
model name : ARM925T rev 2 (v4l)
BogoMIPS : 74.13
Features : swp half thumb
CPU implementer : 0x54
CPU architecture: 4T
CPU variant : 0x0
CPU part : 0x925
CPU revision : 2
Hardware : Amstrad E3 (Delta)
Revision : 0000
A.