openwrt-packages/devel/gcc
W. Michael Petullo 33f72bb63e
gcc: update to allow compiling different versions
This is based on the toolchain GCC, and aims to share as much of its
Makefile and patches with that definition. The package requires one
additional patch:

(1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the
`error: size of array 'test_real_width' is negative` error that occurs
when building a 32-bit GCC on a 64-bit host. (Search the Internet for
examples of this error appearing.)

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit ceaa6e840e)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added gcc version 9.3.0, downgraded gcc to 10.2.0, removed gcc version
11.3.0 as it is now in sync with OpenWrt 21.02]
2022-08-09 23:06:39 +02:00
..
patches gcc: update to allow compiling different versions 2022-08-09 23:06:39 +02:00
Config.in gcc: update to version 7.4.0, Add config options 2019-07-19 22:14:11 -07:00
Makefile gcc: update to allow compiling different versions 2022-08-09 23:06:39 +02:00
README gcc: update to version 7.4.0, Add config options 2019-07-19 22:14:11 -07:00

README

Native GCC that runs on target.

To save disk space, this GCC uses dynamic linking on the target box. There
are configuration options to include libstdc++.a, libc.a and libpthread.a
if staticly linked binaries are needed.

For now, this was only tested on arm (EABI) and mips targets. Others to be
done...

   Christian Beier <cb@shoutrlabs.com>