aboutsummaryrefslogtreecommitdiff
path: root/config/cc
Commit message (Collapse)AuthorAgeFilesLines
* cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman2017-03-291-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>
* Add patches to Linaro GCCAlexey Neyman2017-02-281-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>
* Added new gcc config option CC_GCC_CONFIG_TLSJasmin Jessich2017-02-211-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>
* Linaro also has new 4.9 and 5.4 releasesAlexey Neyman2017-02-201-9/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #610 from stilor/linaro-6.3-2017.02Alexey Neyman2017-02-191-6/+6
|\ | | | | Bump Linaro GCC6 to 6.3-2017-02
| * Bump Linaro GCC6 to 6.3-2017-02Alexey Neyman2017-02-191-6/+6
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | More garbage collectionAlexey Neyman2017-02-181-28/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Have LTO depend-on non-static buildsAlexey Neyman2017-02-181-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>
* | Latest GCC has libmpx and Go.Alexey Neyman2017-02-181-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | More GCAlexey Neyman2017-02-182-12/+0
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Garbage collection for GCC options that are sameAlexey Neyman2017-02-182-87/+19
|/ | | | | | ... on all supported versions. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add zlib as a companion libAlexey Neyman2017-02-051-0/+3
| | | | | | with version 1.2.11. Signed-off-by: Alexey Neyman <stilor@att.net>
* Declare older versions obsolete.Alexey Neyman2017-01-261-5/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add/update/remove Linaro versions.Alexey Neyman2017-01-121-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>
* Disallow c++ for baremetal.Alexey Neyman2017-01-101-1/+1
| | | | | | libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove GCC 6.2.0Alastair D'Silva2017-01-061-6/+0
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Bump GCC to 6.3.0Alastair D'Silva2017-01-061-0/+6
| | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* add support for gcc 4.9.4Thorsten Johannvorderbrueggen2016-11-171-6/+6
|
* Merge pull request #468 from dajamminyogesh/masterAlexey Neyman2016-11-101-3/+3
|\ | | | | gcc: Updated gcc from 6.1.0 to 6.2.0
| * gcc: Updated gcc from 6.1.0 to 6.2.0Yogesh Sharma2016-10-311-3/+3
| | | | | | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* | MINGW doesn't like libmpx either.Alexey Neyman2016-10-071-1/+2
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add a checkbox for libmpx build.Alexey Neyman2016-09-222-0/+15
| | | | | | Disable libmpx for musl builds. Signed-off-by: Alexey Neyman <stilor@att.net>
* gcc: Added 6.1.0 to version listYogesh Sharma2016-09-071-1/+23
| | | | | | added gcc-6.1.0 to version list in kconfig Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
* xgcc: Update gcc 5 to 5.4.0kozyilmaz2016-08-241-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)
* Spelling fixes.Alexey Neyman2016-08-231-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* gcc: Add --with-multilib-list optionRay Donnelly2016-06-091-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>
* config: Add static link check to static optionsBryan Hundven2016-02-261-0/+1
| | | | | | If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #322 from modbw/libelfBryan Hundven2016-02-081-5/+0
|\ | | | | Remove GCC dependency to libelf
| * Remove GCC dependency to libelfMatthias Weisser2016-01-181-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>
* | config/gcc: Update to Linaro GCC 5.2-2015.11-2Cristoforo Cataldo2016-01-301-2/+2
|/ | | | Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* gcc: remove CC_GCC_EXTRA_ENV_ARRAYBryan Hundven2016-01-061-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>
* gcc: Add new linaro version: 5.2-2015.11Bryan Hundven2016-01-021-0/+7
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Update gcc 5 to 5.3.0Bryan Hundven2016-01-021-3/+3
| | | | | Reported-by: Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-081-19/+40
| | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Gnu OpenMP support depends on threadingBryan Hundven2015-11-291-0/+3
| | | | | | | | Instead of checking if thread support is enabled during the build, move the check to kconfig-time. Since if threading support is not availble, libgomp should not be available either. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* PPL: Remove support for PPL and CLooG/PPLBryan Hundven2015-11-292-3/+6
| | | | | | | | | | | | | | | | | | | | | Now that versions of gcc that required PPL are no longer supported ( >= gcc-4.5.x AND <= gcc-4.7.x ) ...we no longer require PPL or CLooG/PPL. This commit: * Removes PPL * Removes CLooG/PPL * Updates the documentation * Updates build script for CLooG and GCC * Removes PPL and CLooG/PPL from scripts/addToolVersion.sh and scripts/showSamples.sh * Adds ISL to scripts/addToolVersion.sh and scripts/showSamples.sh I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Remove gcc <= 4.7.xBryan Hundven2015-11-292-146/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | As per #222, in crosstool-NG >= 1.23.0, we will only support: [upstream supported gcc versions] - 1 As of this writing, these versions are: * 5.2.0 * 4.9.3 * 4.8.5 (the -1, since development on 4.8.x is now closed) I plan to keep 4.8.5 around because of some architectures having issues with over-optimization or just faulty optimization in the 4.9.x and possibly newer versions. I also cleaned up a requirement for glibc to depend on >= gcc-4.6.x for >= glibc-2.20, but since the lowest gcc we support after this change is >= 4.8.5, this condition can go away. Patches for older gcc versions are removed in the next commit. This closes #222 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Support only the latest branch releases of gccBryan Hundven2015-10-311-246/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Using "all" and "install" targets in do_gcc_core_backend if configured.Jasmin Jessich2015-10-101-0/+11
| | | | | | | | | | | | | | | | | - New configurations: - CC_GCC_TARGET_FINAL: Use the default targets "all" and "install" for the final compiler for bare metal. - Adding parameter "build_step" to function do_gcc_core_backend: do_gcc_core_backend is used for the core compiler and in case of bare metal for the final compiler, too. To have better control over the parameters for the final compiler "build_step" is used. - Used for proper logging. - Use CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY or CT_CC_GCC_EXTRA_CONFIG_ARRAY. - If CT_CC_GCC_TARGET_FINAL is set and the final compiler is build then the make targets for the final compiler are used ("all", "install"). Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* Added additional environment variables for gcc build (make) with new optionJasmin Jessich2015-09-221-0/+10
| | | | | | GCC_EXTRA_ENV_ARRAY. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* Merge pull request #163 from jasmin-j/gcc_custom_versionBryan Hundven2015-09-051-4/+5
|\ | | | | Remove CC_GCC_CUSTOM from the version choice
| * CC_GCC_CUSTOM is no longer part of the gcc version choice, but an independendJasmin Jessich2015-09-031-4/+5
| | | | | | | | | | | | configuration to enable CC_GCC_CUSTOM_LOCATION. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* | Fix for issue #147:Jasmin Jessich2015-09-011-1/+1
|/ | | | | | | | Enable definition of "Use __cxa_atexit" for bare-metal systems, if the used libc does provide such a function. The libc configuration have to select LIBC_PROVIDES_CXA_ATEXIT. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
* Merge pull request #130 from Christopher83/masterBryan Hundven2015-07-201-4/+4
|\ | | | | Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06 and update kernel versions
| * config/gcc: Update to Linaro GCC 4.9-2015.06 and GCC 4.8-2015.06Cristoforo Cataldo2015-07-121-4/+4
| | | | | | | | Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* | cc/gcc: add gcc 5.2Daniel Zimmermann2015-07-191-0/+24
|/ | | | | | add gcc 5.2 Signed-off-by: Daniel Zimmermann <netzimme@gmail.com>
* config: Add new gcc stable versionsBryan Hundven2015-07-101-0/+12
| | | | | | | | | This commit adds gcc 4.8.5 and 4.9.3. Release notes can be found in these urls: https://gcc.gnu.org/gcc-4.8/ https://gcc.gnu.org/gcc-4.9/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config/gcc: Fix gcc 5.1.0 version knobBryan Hundven2015-06-021-3/+2
| | | | | | | This change makes the 5.1.0 version knob consistant with previous gcc versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config/gcc: Fix missing update to gcc.inBryan Hundven2015-06-021-50/+50
| | | | | | | | In the patch series for multi_cc, some version knobs were missed. This patch fixes this. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Add config support for multiple compilersRay Donnelly2015-05-292-58/+61
| | | | | | | | | | | This change updates the config to support multiple compilers by moving CC_.* to CC_GCC_.* to make room for other compilers. We also update gen_in_frags.sh to check for a default cc. Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Reviewed-by: Yann Diorcet <diorcetyann@gmail.com> Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>