summaryrefslogtreecommitdiff
path: root/scripts/showSamples.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-1/+1
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-1/+1
... and then use the right option. See the note in scripts/functions on where we should use ${foo} and where just 'foo'; this boils down to whether we can expect the build tools override to be in effect (e.g. in the actual build scripts) or not (i.e. outside of scripts/build). While running in scripts/functions, or in scripts/crosstool-NG.sh the build tools override directory (.build/tools/bin) may have not been set up (yet, or at all). Also, modify the installed scripts (populate, xldd) accordingly. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Kill dmalloc.Alexey Neyman1-1/+0
- No new releases in almost 10 year. - No public bug tracker or VCS. - No responses from maintainer over sent patches. RIP, dmalloc. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-12-08Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven1-4/+4
We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-30PPL: Remove support for PPL and CLooG/PPLBryan Hundven1-4/+4
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>
2015-11-17showSamples: Fix uClibc-ng name and Mingw-w64 versionsBryan Hundven1-4/+14
Some LIBCs need some love in showSamples.sh. uClibc-ng is of type of uClibc, so output uClibc-ng if CT_LIBC_UCLIBC_NG=y. mingw-w64 doesn't have a CT_LIBC_VERSION, but it does have a CT_WINAPI_VERSION. So output that instead. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-17showSamples.sh: Fix how we get gcc and version for showSamples.shBryan Hundven1-12/+8
I'm not even sure how the previous loop was supposed to work. The config variables are not exported to the environment. Now we properly get which cc we are using and grab the version to display it correctly with the output of wiki-samples. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13Change ncurses to a companion library.Alexey Neyman1-7/+10
Currently, builds for build and target (matching the current implementation). Need to add building for host for canadian crosses. TIC_PATH is removed - configure in ncurses searches $PATH, so it finds 'tic' in buildtools anyway. Arguably unneeded code for MacOS also removed, with a FIXME comment for validation by someone using MacOS. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-13Convert expat for target into a companion lib.Alexey Neyman1-0/+3
Expat-for-host to be done. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Make show-config consistent with sample name.Alexey Neyman1-1/+6
'ct-ng show-config' will prepend host for canadian builds; otherwise, the name is different from the name used to configure the build (and indistinguishable from a simple cross). Signed-off-by: Alexey Neyman <stilor@att.net>
2015-06-01showSamples: Update showSamples.sh for multiple compilersRay Donnelly1-4/+18
This change adds support to show samples for multiple compilers. Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Reviewed-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-05-10showSamples: Update to use variables from paths.shBryan Hundven1-2/+2
This change modifies the use of sed and awk to use the variables set by paths.sh during the installation process of crosstool-NG. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-06-28scripts: another change needed for the Hg->git conversionYann E. MORIN1-4/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-26scripts: first batch of hg->git conversionYann E. MORIN1-0/+3
Replace calls to 'hg' with as-close-as-possible equivalents in git. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08cc/gcc: Add support for golangYann E. MORIN"1-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>
2012-08-01scripts/showSample: also print the threading implementationYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-23scripts+samples: fix listings the samplesYann E. MORIN"1-36/+23
Since we use defconfigs to save the samples, listing all the samples can no longer be done by passing all the sample names at one to the script; we need to pass them one-by-one after we expand the sample's defconfig ibnto a complete .config. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07samples: rework show-tupleYann E. MORIN"1-4/+3
Now that we are using defconfig files, the samples do not contain the full configuration, so we can not simply parse them to show their content. Instead, we must fake recalling a sample, and parse the generated .config file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-01-16scripts: fix tools overrideYann E. MORIN"1-1/+1
The tools found by the new autostuff configure can contain arguments, for example: grep -E This needs separating the paths set for the Makfile from the paths set for the scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14scripts: use the floating-point string option in testsYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"1-1/+1
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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-19scripts: munge .config to handle array variablesYann E. MORIN"1-0/+1
Transfrom array variables from pure strings (in the kconfig output) into proper bash arrays declarations, for feeding to the build scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-04-24scripts: small eye-candy in the wiki tableYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-4/+6
- don't list samples in the main help screen - improve the samples listing in list-samples - don't document the 'config' action, it's long dead - document the 'V' environment variable - improve on START, STOP and PREFIX environment variables - add PREFIX and V to autocomplete - advertise auto-complete at install time
2010-03-19scripts: fix dumping the config for companion libraries for targetYann E. MORIN"1-6/+12
Companion libraries can be disable for the host, but still used for the target (eg. binutils or gdb). Dump the version also in this case.
2010-03-17scripts: fix dumping configYann E. MORIN"1-3/+7
libelf has been moved to being a companion library, now.
2010-02-17complibs: split-up selection for individual libsYann E. MORIN"1-6/+13
2010-02-07scripts/showsamples: fix non-POSIX constructYann E. MORIN"1-1/+1
2010-01-31scripts: dump the current tuple with show-configYann E. MORIN"1-0/+2
2010-01-31scripts: add action to dump current configuration in humane-readable formYann E. MORIN"1-8/+15
2010-01-03samples: fix displaying samplesYann E. MORIN"1-2/+2
2009-11-25scripts: directly spit-out the date in the WiKi table, misc eye-candyYann E. MORIN"1-4/+4
No need to go through a post-processing just for displaying the date...
2009-11-25scripts: fix Host/Target colums in WiKi tableYann E. MORIN"1-11/+15
Generate a better-looking WiKi table by re-arranging the host and target columns.
2009-11-25scripts: fix WiKi table generationYann E. MORIN"1-2/+2
The number of column in the top-most header was not updated to reflect the fact that a new column was added to show the host (for canadian crosses).
2009-09-07samples: show the PPL, GLoog/ppl and MPC versionsYann E. MORIN"1-1/+4
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07samples: fix displaying selected toolsYann E. MORIN"1-7/+7
Do display selected tools / debug facilities when displaying a sample.
2009-09-07samples: replace usage of echo with printfYann E. MORIN"1-9/+10
Using printf instead of echo allows easier and better formatting.
2009-06-26[samples] Don't mix canadian samples with non-canadian ones.Yann E. MORIN"1-9/+15
- save the canadian smples in their own way, so as not to mix non-canadian samples with canadian ones - list canadian samples with the host information
2009-02-01Use tools discovered via ./configure in scripts/showSample.sh; make it a ↵Yann E. MORIN"1-3/+7
POSIX shell script. /trunk/scripts/showSamples.sh | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
2008-11-01Eyecandy in the WiKi table.Yann E. MORIN"1-8/+12
/trunk/scripts/showSamples.sh | 20 12 8 0 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
2008-10-31Indent the samples list.Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27Typo.Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-14Introduce the notion of a 'sample comment'.Yann E. MORIN"1-6/+6
- presence of the sample's reported.by file is now mandatory. - when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file. - when saving a sample, one can store a few-liner comment. - when recalling a sample, the reporter name, URL and comment (if present) are printed. - update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail). - update all samples that were missing the reported.by file. /trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------ /trunk/scripts/showSamples.sh | 12 6 6 0 +++--- /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++ /trunk/samples/samples.mk | 22 17 5 0 +++++++++-- 4 files changed, 73 insertions(+), 22 deletions(-)
2008-09-14Beautify somewhat the WiKi table for narrow screens.Yann E. MORIN"1-3/+3
/trunk/scripts/showSamples.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"1-3/+3
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-09-04Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.Yann E. MORIN"1-2/+7
/trunk/scripts/showSamples.sh | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-02Beautify samples listing.Yann E. MORIN"1-4/+4
/trunk/scripts/showSamples.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02Warn the user if he/she recalls a sample with EXPERIMENTAL features.Yann E. MORIN"1-3/+9
Also, print the EXPERIMENTAL status when listing the samples. /trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++--- /trunk/samples/samples.mk | 12 12 0 0 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-)
2008-08-25Also dump the GMP and MPFR versions when dumping a sample in verbose mode.Yann E. MORIN"1-0/+3
/trunk/scripts/showSamples.sh | 3 3 0 0 +++ 1 file changed, 3 insertions(+)