aboutsummaryrefslogtreecommitdiff
path: root/config/cc
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
* complibs: Update requirements for gcc-5.1Bryan Hundven2015-05-021-1/+1
| | | | | | | | | | | "The Graphite framework for loop optimizations no longer requires the CLooG library, only ISL version 0.14 (recommended) or 0.12.2. The installation manual contains more information about requirements to build GCC." This change helps to avoid version badness. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config: Add gcc-5.1.0Bryan Hundven2015-05-021-1/+25
| | | | | | | | | | This change needs another change from pull request #81, but it's kind of a chicken/egg scenario. The 'select's in CC_GCC_5_1 need to be refactored a bit, and would be easier to test if gcc-5.1.0 was commited. Most of the refactoring will happen with CC_GCC_HAS_GRAPHITE. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config/gcc: Update to Linaro GCC 4.9-2015.03Cristoforo Cataldo2015-03-151-2/+2
| | | | Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* config/gcc: Update to Linaro GCC 4.9-2015.02 and GCC 4.8-2015.02Cristoforo Cataldo2015-02-181-4/+4
| | | | Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* gcc: Add Linaro GCC 4.9-2015.01 and GCC 4.8-2014.11Cristoforo Cataldo2015-01-161-2/+9
| | | | | | | | This commit allows to choose, download and build latest Linaro GCC: - gcc-linaro-4.9-2015.01 - gcc-linaro-4.8-2014.11 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
* Added gcc 4.8.4.Manfred Rudigier2015-01-091-0/+6
| | | | Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
* gcc: The latest 'released' linaro 4.8 is 2014.04, not 08Bryan Hundven2014-12-081-2/+2
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Update linaro 4.7 and 4.8 (Attempt 2)Bryan Hundven2014-12-081-3/+3
| | | | | | | | | I messed up the previous commit. I only updated half the config file, and the latest 4.8 is 2014.08. :facepalm: Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gcc: Update linaro 4.7 and 4.8Bryan Hundven2014-12-081-2/+2
| | | | | | | Update 4.7 to linaro-4.7-2014.06 Update 4.8 to linaro-4.8-2014.04 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* cc/gcc: add gcc 4.9.2Daniel Zimmermann2014-12-041-0/+6
| | | | | | | added the latest gcc 4.9.2 Signed-off-by: Daniel Zimmermann <netzimme@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* config/gcc: Disable CC_GCC_LIBSANITIZER for musl-libcBryan Hundven2014-09-111-1/+1
| | | | | | | Disable libsanitizer for musl-libc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* cc/gcc: add option to enable/disable libsanitizerYann E. MORIN2014-08-312-0/+20
| | | | | | | | libsaniotizer requires a few headers that are not in uClibc, for example. Also, it is only available for native threads (NPTL under glibc.) Finally, it is only available starting with gcc-4.8. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add 4.9.1Cody P Schafer2014-07-191-0/+6
| | | | Signed-off-by: Cody P Schafer <dev@codyps.com>
* cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev2014-07-031-0/+12
| | | | Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
* cc/gcc: add 4.9.0Cody P Schafer2014-05-111-1/+24
| | | | | | | | Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: latest is now a 4.9] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <5bac788539bb272893ed.1399801933@gun> Patchwork-Id: 347774
* cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetalCody Schafer2014-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | The final bare-metal compiler is built using the core backend. Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable. While this works as supposed to, this can leave the user puzzled in the menuconfig, since all he can see is the core options, not the final options. Only show the core options if any of the core passes are needed, and use the final options in the core-backend if we're issuing the bare-metal compiler. Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: hide core options if no core pass needed; use final option in core backend if issuing the bare-metal compiler] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <22181e546ba746202489.1399688067@localhost> Patchwork-Id: 347586
* cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01danielrubiob2014-02-091-4/+4
| | | | | | Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com> Message-Id: <08addb73e684d5e36f22.1391984020@uemo> Patchwork-Id: 318634
* cc/gcc: add option to enable/disable decimal floatsYann E. MORIN"2014-01-041-0/+46
| | | | | | | | | | Decimal floats need support form the C library, namely support for fenv, which is missing in uClibc for any architecture but x86/32. Add an option (a choice) to enable or disable decimal floats. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: bump Linaro versionsYann E. MORIN"2014-01-051-4/+4
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add 4.8.2Yann E. MORIN"2013-11-081-0/+6
| | | | | | Signed-off-by: Richard Weinberger <richard@nod.at> Message-Id: <4620980ca8475c89a71f.1383921709@azrael> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: Add support for golangYann E. MORIN"2013-11-081-0/+1
| | | | | | Signed-off-by: Richard Weinberger <richard@nod.at> Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: fix companion libs selectionYann E. MORIN"2013-09-301-2/+0
| | | | | | | | | Cset #15eedf548d33 (cc/gcc: add preliminray support for 4.8) left a lingering 'select CLOOG_NEEDED', which should have been removed. Fix that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add 4.8.1Yann E. MORIN"2013-07-291-0/+6
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: update Linaro GCC revisions for 2013.06Michael Hope2013-06-281-6/+6
| | | | | | | | | | Update Linaro GCC with the latest available revisions. Also updates Linaro GCC 4.6 to the final version. Signed-off-by: "Michael Hope" <michaelh@juju.net.nz> Message-Id: <83e33862f7641c2ad326.1372451435@localhost> Patchwork-Id: 255666
* cc/gcc: add 4.8.0 and linaro-4.8Yann E. MORIN"2013-05-051-0/+13
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add preliminray support for 4.8Yann E. MORIN"2013-05-052-25/+44
| | | | | | | | | | | This means: - introduce the new symbols for 4.8 - do not always select PPL if graphite is selected Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru> [Dmitry did a preliminray patch to add gcc-4.8 support, which this patch is inspired from] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: reorder version stringsYann E. MORIN"2013-05-051-2/+2
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* cc/gcc: add 4.7.3 and 4.6.4 bug-fixes releasesYann E. MORIN"2013-05-031-0/+12
| | | | | | Bring the appropriate patches along, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>