summaryrefslogtreecommitdiff
path: root/config/cc.in
AgeCommit message (Collapse)AuthorFilesLines
2015-05-29config: Add config support for multiple compilersRay Donnelly1-2/+1
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>
2015-04-26Display 'Other languages' for bare metal as wellJohannes Pfau1-2/+2
There are other languages which work with bare metal compilers. As an example crosstool-ng is recommended to build D/GDC bare metal compilers. Signed-off-by: Johannes Pfau <johannespfau@gmail.com>
2014-05-05cc: add options to differentiate the need for pass-1 and pass-2Yann E. MORIN"1-1/+9
In some cases, building the core pass-1 is unneeded, as the C library will not try to build anything when installing headers, or sill not install anything at all. This is for example the case for newlib, wihch does not require a core pass-1 since it builds nothing and installs no header. This should also be the case for newer glibc-es with newer gcc-es, which no longer require a core pass-1, since the circular dependency glibc <-> gcc (about TLS?) has been resolved. Reported-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-19cc/gcc: Add Fortran support for Baremetal buildZhenqiang Chen1-2/+2
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@free.fr: fix damage due to mailer] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CACgzC7D5HCVS-qX=ydcQphNFH=VGgJzTdZWQWaLKAv-CdE8crA@mail.gmail.com> Patchwork-Id: 292703
2013-11-08cc/gcc: Add support for golangYann E. MORIN"1-0/+14
Signed-off-by: Richard Weinberger <richard@nod.at> Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-22cc: add a flag for skipping core passesYann Diorcet1-0/+3
It is used for skipping unnecessary compilation steps when the libc doesn't need to be compiled (eg. when we do not use a C library). Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> Message-Id: <150eadb0117e697d79aa.1353625025@blackmint> Patchwork-Id: 201222
2011-07-17misc: fix more typos here and there...Yann E. MORIN"1-1/+1
Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-31kconfig: remove useless 'default n'Benoît THÉBAUDEAU"1-6/+0
kconfig bools are disabled by default, so specifying 'default n' is useless and noisy. This patch removes all occurrences of 'default n'. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2010-06-08config: add support for a second part of the generated choicesYann E. MORIN"1-0/+2
Some components have configuration options that can depend on generic options, so they should go below those. uClibc for example: - has its own options (wchar...) - uses the generic options (threads...) - if linuxthreads chosen, offers two impls So we need to be able to split the components options in 2, one part that is above the generic options, and one part that ends up below the generic options.
2010-03-29config: fix style issues when source-ing filesYann E. MORIN"1-1/+1
Always enclose the sourced file between double-quotes (purely for consistency; enclosing or not are both allowed by the kconfig language).
2008-12-24Enable C++ for baremetal.Yann E. MORIN"1-6/+2
/trunk/scripts/build/cc/gcc.sh | 7 5 2 0 +++++-- /trunk/config/cc.in | 8 2 6 0 ++------ 2 files changed, 7 insertions(+), 8 deletions(-)
2008-10-13Generate the choice menu for C compilers, the same way arch, kernels and C ↵Yann E. MORIN"1-28/+3
libraries are generated. /trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++ /trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++ /trunk/config/cc.in | 31 3 28 0 +++---------------------------- 3 files changed, 22 insertions(+), 28 deletions(-)
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"1-0/+8
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library. Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal. Move the compiler build script to its own sub-directory. Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal. Update the ARM target tuples to enable bare-metal targets. Add two ARM bare-metal samples. Add latest Linux kernel versions. /trunk/scripts/build/kernel/none.sh | 77 6 71 0 +---- /trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++- /trunk/scripts/build/libc/none.sh | 513 9 504 0 +----------------------------- /trunk/scripts/crosstool.sh | 17 9 8 0 + /trunk/scripts/functions | 6 4 2 0 + /trunk/scripts/showSamples.sh | 6 3 3 0 /trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++ /trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++ /trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++-- /trunk/config/kernel.in | 9 8 1 0 + /trunk/config/toolchain.in | 1 1 0 0 + /trunk/config/cc/gcc.in | 3 3 0 0 + /trunk/config/debug/dmalloc.in | 1 1 0 0 + /trunk/config/debug/gdb.in | 4 3 1 0 + /trunk/config/debug/strace.in | 1 1 0 0 + /trunk/config/debug/duma.in | 1 1 0 0 + /trunk/config/cc.in | 8 8 0 0 + /trunk/config/target.in | 13 13 0 0 + /trunk/config/binutils.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 1 1 0 0 + /trunk/config/libc.in | 17 11 6 0 + /trunk/arch/arm/functions | 3 1 2 0 - 22 files changed, 600 insertions(+), 652 deletions(-)
2008-08-05Mark "ADA", "ObjC", "ObjC++" and "other languages" as being EXPERIMENTAL.Yann E. MORIN"1-4/+8
/trunk/config/cc.in | 12 8 4 0 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
2008-04-17Moving around the files in config/ broke the tools/addToolVersion.sh script.Yann E. MORIN"1-1/+1
Fix that. /trunk/tools/addToolVersion.sh | 26 13 13 0 +++++++++++++------------- /trunk/config/kernel/linux.in | 6 3 3 0 +++--- /trunk/config/kernel.in | 2 1 1 0 +- /trunk/config/cc.in | 2 1 1 0 +- /trunk/config/libc.in | 4 2 2 0 ++-- 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17Move config files around, and clean up the mess in the config/ directory.Yann E. MORIN"1-1/+1
config/kernel/kernel_linux.in | 12 6 6 0 +- config/paths.in | 89 0 89 0 ---------------- config/kernel_linux_headers_install.in | 168 0 168 0 ------------------------------ config/kernel.in | 2 1 1 0 config/kernel_linux_headers_copy.in | 42 0 42 0 -------- config/cc.in | 2 1 1 0 config/logging.in | 110 0 110 0 -------------------- config/build-behave.in | 45 0 45 0 -------- config/libc_uClibc.in | 101 0 101 0 ------------------ config/kernel_linux_headers_sanitised.in | 62 0 62 0 ----------- config/ct-behave.in | 82 0 82 0 --------------- config/kernel_linux.in | 134 0 134 0 ------------------------ config/global.in | 10 5 5 0 +- config/download_extract.in | 171 0 171 0 ------------------------------- config/cc_gcc.in | 130 0 130 0 ------------------------ config/libc_glibc.in | 124 0 124 0 ---------------------- config/libc.in | 4 2 2 0 17 files changed, 15 insertions(+), 1273 deletions(-)
2008-02-14Robet P. J. DAY: typoes.Yann E. MORIN"1-1/+1
2007-08-30Apply some scosmetic changes, courtesy Al Stone <ahs3@ahs3.net>.Yann E. MORIN"1-14/+26
2007-08-15Get rid of the core cc selection. It is now the same as the final compiler.Yann E. MORIN"1-39/+6
2007-05-13Remove dead entries for components not yet integrated: cygwin kernel, tcc...Yann E. MORIN"1-31/+0
Some fixups in config entries, to avoid warnings when parsed by the kconfig parser.
2007-04-17Add the EXPERIMENTAL option to show options marked as such.Yann E. MORIN"1-0/+2
Add the four types of toolchains ct-ng is able to build as EXPERIMENTAL, except for CROSS which *is* functional. Reorder menus accordingly.
2007-02-24Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"1-0/+185
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(