W. Michael Petullo
722ec42b43
gcc: fix build with 8.3.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
5 years ago
Jan Pavlinec
299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
5 years ago
Noble Pepper
31977ae6f3
gcc: fix build on x86 targets
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
(cherry-picked from 32203bec9)
5 years ago
Noble Pepper
5caa181b17
gcc: update to version 7.4.0, Add config options
for coping libc.a, libpthread.a and libstdc++ to target.
Add config option to eliminate need for -lstdc++ and -lgcc_pic
switches when linking statically
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
6 years ago
Eneas U de Queiroz
054d5273cb
gcc: enable compilation with gcc 7.x
Defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS instructs gcc 7.x libstdc++ to
include the system's stdlib.h and math.h, and not their own.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
7 years ago
Etienne Champetier
4006865ae8
treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
7 years ago
Noble Pepper
4224c4ccf4
gcc:Add support for Arm with FPU
also removes erroneous --with-local-prefix=/usr configure option
Signed-off-by: Noble Pepper <gitmail@noblepepper.com>
compile tested:
mips Vocore2
mvebu WRT1200AC (Caiman)
run tested:
mips Vocore2
mvebu WRT1200AC (Caiman)
8 years ago
Noble Pepper
77a8b220fd
gcc: Update to version 5.4.0, change maintainer
Signed-off-by: Noble Pepper <noblepepper@gmail.com>
8 years ago
diizzyy
6217aa43d2
gcc: Use URL alias
Remove hardcoded URL and use alias instead.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
9 years ago
Christian Beier
82e56d1bf8
gcc: fix build with musl.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
9 years ago
harald.geyer@gmx.at
389940cab0
gcc: Update README: tested on arm (imx233-olinuxino) board
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
harald.geyer@gmx.at
1a7de36186
gcc: Include libgcc.a on those architectures that need it
Right now these are arm, hppa, microblaze, powerpc, sh and xtensa.
So we just try to grep for it to figure out if it is needed.
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
480452dce8
gcc: work around wrongly detected sys/sdt.h header.
The build system somehow detects /usr/include/sys/sdt.h, which is part of systemtap-sdt-devel
package in the host environment but not present in the SDK.
This patch simply disables the check for sys/sdt.h, enabling building of this package when
systemtap-sdt-devel is installed in the host environment.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
372787d29b
gcc: Use strip instead of sstrip as sstrip somehow stops the on-target compilation from working properly.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
304e86ff28
gcc: Get rid of those sed substitutions and use proper ./configure args instead.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
f24052dd61
gcc: Specify target languages the right way.
There are no CONFIG_INSTALL_* vars in the SDK anymore.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
c704c2f503
gcc: Build gcc version 4.8.3, refresh patches from openwrt.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
10 years ago
Christian Beier
b9683bf7df
gcc: Ship all *nonshared*.a static libs.
Particularly, this fixes linking with pthreads.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
75dd400ae6
gcc: Remove notes that mpfr-dev and the like are needed on the build machine.
That's not true, at least for GCC 4.6.3.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
bae28d4faa
gcc: Remove patches that don't apply to 4.6.3.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
9b24b13654
gcc: Heavy Makefile modification, now builds and runs on target.
* Use the same GCC version as the Attitude Adjustment toolchain.
* Use REAL_GNU_TARGET_NAME that contains the _uclibc suffix.
Otherwise the linker on the target is not found.
* Revamped install section to install only needed binaries and omit
static .a libs.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
13e9670993
gcc: Enable parallel GCC builds.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
ee43a57b74
gcc: Depend on binutils package.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
e63c244828
gcc: Do not ship .info and .man files.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
0401ca4ca1
gcc: Add myself as maintainer.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
5ad8b4ff1e
gcc: The variable is simply called CONFIGURE_ARGS and already contains the host,build, target triplet plus right prefixes.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
e1be3f55d8
gcc: Add GCC 4.6 patches from official openwrt.git toolchain directory.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
a95a32ce4c
gcc: Add patch that fixes GCC building for MIPS.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
9ff77b0000
gcc: Add patch that fixes a build error when building a 32bit toolchain on 64bit build machine.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
41f562c066
gcc: Add README to gcc package explaining build-deps on host machine.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
758da3487e
gcc: Update GCC Makefile to let it build gcc 4.6 for target.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago
Christian Beier
799110936e
gcc: Add gcc package from git.openwrt.org/packages.git.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
11 years ago