summaryrefslogtreecommitdiff
path: root/config/cc
AgeCommit message (Collapse)AuthorFilesLines
2019-04-05Enable zlib companion lib if building LTOAlexey Neyman1-0/+1
While we may use build machine's library when building a simple cross, we won't have it for the host machine in a canadian build. Until there are separate selectables for the build/host components, just build our own local zlib. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13Implement an option to store downloads in subdirsAlexey Neyman1-1/+1
... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman1-5/+0
Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-26Fix build with ISL 0.20Alexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman1-3/+0
This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-12Fix the test for mingw-w64Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-12Fix HAS_LIBMPX selectionAlexey Neyman1-21/+12
Was previously selected by GCC_5_or_later - but now that one is an auto-generated option that does not select anything; now HAS_LIBMPX was made dependent on GCC_5_or_later, but its default was not set to y. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Also upgrade non-generated config filesAlexey Neyman1-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch gen-kconfig to new frameworkAlexey Neyman2-416/+416
Also: - Move companion_* to comp_* to match the kconfig symbols - Replace bootstrap with former gen-versions.sh - Fold *.in.2 into their respective first parts; this moves common options to the end - if it is undesirable, inclusion of *.in can be moved where *.in.2 used to be (but that will also move version selection after common options). - Retire addToolVersion.sh (may later replace with a more comprehensive script that tries to download the added tarballs, copy the patches and try to apply them, and create a version.desc). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Encode GCC/ISL/CLooG requirementsAlexey Neyman1-0/+11
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman1-1/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman2-409/+408
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch comp.libs/tools and debug to new framework.Alexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Implement "milestones" for packagesAlexey Neyman1-1/+1
Also get rid of dependency on GNU sort. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert gcc to new framework.Alexey Neyman2-528/+351
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-05New GCC releases from LinaroAlexey Neyman1-4/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-25Retire CT_CC_GCC_TARGET_FINALAlexey Neyman1-11/+0
Make this behavior default in case the core gcc backend is used for final compiler (i.e., for baremetal configurations). Not setting this option breaks canadian baremetal configurations, and not setting it makes little sense at all in any baremetal configuration (since in baremetal we don't have any libc to begin with). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Tweaks for bionic/TLShyc1-0/+1
2017-05-12Add GCC 7.1.0Alexey Neyman1-5/+17
Removed patches either picked up upstream, or no longer applicable (boehm-gc no longer part of GCC). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-03-30cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman1-2/+3
... when determining if it can be linked statically, and if Python scripting should default to y. Prompted by a failure of i686-w64-mingw32,nios2-spico-elf sample on a system where configure didn't report static linking support. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-28Add patches to Linaro GCCAlexey Neyman1-6/+3
Same as the base release as long as they applied. MUSL patches didn't, removed. Also, unobsolete Linaro GCC5 now that they rolled out a new release. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-21Added new gcc config option CC_GCC_CONFIG_TLSJasmin Jessich1-0/+19
Adding new tristate configuration for TLS (Thread Local Storage) to add "--enable-tls" (y), "--disable-tls" (n) or nothing (m). Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2017-02-21Linaro also has new 4.9 and 5.4 releasesAlexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-20Merge pull request #610 from stilor/linaro-6.3-2017.02Alexey Neyman1-6/+6
Bump Linaro GCC6 to 6.3-2017-02
2017-02-19Bump Linaro GCC6 to 6.3-2017-02Alexey Neyman1-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More garbage collectionAlexey Neyman1-28/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Have LTO depend-on non-static buildsAlexey Neyman1-0/+1
Loading a dynamic library (LTO plugin) from a static binary fails on ArchLinux. It is also prone to break if a system is ever upgraded. Also, disable plugins if not enabled explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Latest GCC has libmpx and Go.Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19More GCAlexey Neyman2-12/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Garbage collection for GCC options that are sameAlexey Neyman2-87/+19
... on all supported versions. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05Add zlib as a companion libAlexey Neyman1-0/+3
with version 1.2.11. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26Declare older versions obsolete.Alexey Neyman1-5/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13Add/update/remove Linaro versions.Alexey Neyman1-5/+13
Linaro GDB 7.2 no longer available from Linaro's website; removed. Linaro GDB 7.5 had incorrect version (the tarball on linaro.org does not have a -1 patch level). Add/update latest versions on each (otherwise supported) branches of GCC, GDB, binutils, glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Disallow c++ for baremetal.Alexey Neyman1-1/+1
libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-06Remove GCC 6.2.0Alastair D'Silva1-6/+0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva1-0/+6
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2016-11-18add support for gcc 4.9.4Thorsten Johannvorderbrueggen1-6/+6
2016-11-11Merge pull request #468 from dajamminyogesh/masterAlexey Neyman1-3/+3
gcc: Updated gcc from 6.1.0 to 6.2.0
2016-10-31gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma1-3/+3
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-10-07MINGW doesn't like libmpx either.Alexey Neyman1-1/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-09-23Add a checkbox for libmpx build.Alexey Neyman2-0/+15
Disable libmpx for musl builds. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-09-07gcc: Added 6.1.0 to version listYogesh Sharma1-1/+23
added gcc-6.1.0 to version list in kconfig Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-08-24xgcc: Update gcc 5 to 5.4.0kozyilmaz1-3/+3
patches synced with buildroot trunk and: 110-xtensa-implement-trap-pattern.patch (copied to 5.4.0 patches) 130-build_gcc-5_with_gcc-6.patch (upstreamed in 5.4.0, dropped) 370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (copied to 5.4.0 patches) 380-gcc-plugin-POSIX-include-sys-select-h.patch (copied to 5.4.0 patches) 910-nios2-bad-multilib-default.patch (copied to 5.4.0 patches)
2016-08-23Spelling fixes.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-06-10gcc: Add --with-multilib-list optionRay Donnelly1-0/+10
Written by Bryan Hundven. Modified by Alexey Neyman to actually add the option to gcc.in. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
2016-02-26config: Add static link check to static optionsBryan Hundven1-0/+1
If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-08Merge pull request #322 from modbw/libelfBryan Hundven1-5/+0
Remove GCC dependency to libelf
2016-01-30config/gcc: Update to Linaro GCC 5.2-2015.11-2Cristoforo Cataldo1-2/+2
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2016-01-18Remove GCC dependency to libelfMatthias Weisser1-5/+0
As crosstools-ng only support GCC >= 4.8 we do not need libelf for gcc. GCC dropped this dependency with 4.6. Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com>
2016-01-06gcc: remove CC_GCC_EXTRA_ENV_ARRAYBryan Hundven1-10/+0
I was noticing that $extra_user_env was inconsistently used in 100-gcc.sh. I don't feel comfortable having just any make flag or environment variable passed to make from a config file. If a specific option needs to be passed to make for gcc, then a specific kconfig option should be added for that make flag/option/env. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>