summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2009-09-12comp-libs/cloog: new versions have the version number in the dir nameYann E. MORIN"1-1/+10
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl. For any later versions, the driectory name does have the version, such as cloog-ppl-0.15.4.
2009-09-11samples: fix saving samplesYann E. MORIN"1-1/+1
Use a correct sed pattern when setting CT_PREFIX_DIR
2009-09-11libc/eglibc: fix downloadYann E. MORIN"1-1/+1
Fix the test to check if download is forced.
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-09-06tools wrapper: fix buildingYann E. MORIN"1-8/+8
Remove the build tools only after the wrapper is built. Use the corect C compiler to build the tools wrapper. Use the correct log level.
2009-09-06crosstool.sh.in: better mesage when creating script-overridesYann E. MORIN"1-1/+1
2009-09-06log functions: fix CT_DoLog and CT_DoExecLogYann E. MORIN"1-2/+2
$@ and $* are different when in double quotes; use $* to print the message.
2009-09-01config.{gues,sub}: updateYann E. MORIN"2-10/+16
2009-08-31config: add fallback to patch orderYann E. MORIN"1-0/+3
Add the possibility to fallback to either bundled or local patches if local or bundled are missing.
2009-08-31config: add the local,bundled patch orderYann E. MORIN"1-0/+1
This ordering first applies the local patches, then the bundeld ones.
2009-08-31config: make selecting the patch origin a choice rather than a boolYann E. MORIN"1-9/+17
2009-08-31functions: do not over-detect error when patchingYann E. MORIN"1-1/+0
2009-08-30tools wrapper: fix error due to unused argumentYann E. MORIN"1-0/+3
In the C wrapper, the argc argument is not used, causing an error (as we treat warnings as errors). Use a dummy allocation to get rid of the warning.
2009-08-30tools wrapper: correctly install the C wrapperYann E. MORIN"1-0/+1
When building the C wrapper, specify the source file to be compiled.
2009-08-29tools wrapper: introduce the silent WRAPPER_NEEDED config optionYann E. MORIN"1-2/+1
Add the WRAPPER_NEEDED silent config option, that can be selected by components that require it (companion libs so far). Rely on this config option when deciding to install the wrapper, instead of checking GMP/MPFR or PPL/CLoog/MPC.
2009-08-29Merge the C wrapper.Yann E. MORIN"2-3/+147
2009-08-29config: choose whether to use the shell or the C wrapperYann E. MORIN"1-3/+19
Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
2009-08-29tool wrapper: add initial wrapper coded in CYann E. MORIN"1-0/+128
Add an initial wrapper: - find the realpath of the tool being called - add the '.' in front of the tool name - add the '/lib' dir to the base dir of the tool - set and export LD_LIBRARY_PATH - execve the real tool
2009-08-28duma: fix downloading by forcing extension to .tar.gzYann E. MORIN"1-2/+5
Downoading a non-existing file from sourceforge gives you a "200 OK" and an index.html. As we try to retrieve a .tar.bz2 first, and duma is bundled in a .tar.gz, we won't get appropriate content, so just force the extension to avoid the problem. Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
2009-08-24glibc: fix build error caused by incorrect variable assignmentJim F1-2/+2
During the conversion to using bash arrays, the glibc build script was improperly converted, and contains an incorrect variable assignment to the config_options array.
2009-08-19Merge the bash_array branch.Yann E. MORIN"6-144/+186
For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
2009-08-19Allow setting --enable-cxx-flags on gcc ./configureYann E. MORIN"1-0/+3
Some setups require one to pass extra CXX flags at the time of ./configure. Make it easy.
2009-08-19Use bash arrays to store binutils config optionsYann E. MORIN"1-18/+26
2009-08-19Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"1-34/+44
Change extra_config from a string to a array of options.
2009-08-19Make gdb's extra_config an array containing ./configure optionsYann E. MORIN"1-21/+28
Change extra_config from a string to a array of options.
2009-08-19Make dmalloc's extra_config an array containing ./configure optionsYann E. MORIN"1-9/+10
Change extra_config from a string to a array of options.
2009-08-19Make gcc's extra_config an array containing ./configure optionsYann E. MORIN"1-41/+50
Change extra_config from a string to a array of options.
2009-08-19Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"1-12/+14
Change extra_config from a string to a array of options.
2009-07-27[libc-eglibc] Rewrite part of the codeYann E. MORIN"1-9/+11
Rewrite part of the code to better match the rest. Most notably, rewrite handling of: if [ ... ] && [ ... ] to: if [ ... -a ... ] This has the positive side effect of calling "[" only once, although "[" is probably a shell built-in.
2009-07-27[libc-eglibc] Fix testing for existing filesYann E. MORIN"1-8/+8
To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]" Checking for a file exsitence with "-a" is a bashism. Althoug we _are_ using bash, it's disturbing as it can be misread as the 'and' operator. Fix by using "-f".
2009-08-08Merge the AVR32 support branch to the default branch.Yann E. MORIN"2-0/+98
2009-08-02[complib:mpfr] Fix building MPFR in some weird casesOron Peled1-0/+9
The tmul test uses a compiled-in input file in $(srcdir). The problem is that the Makefile passes it unquoted. The C code tries to stringify it using clever macros, which may *usually* work. In my case the source directory was named: .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests And guess what? During testing I found out the program fails because it tries to open: .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests Yes, CPP tokenized the macro before stringifying it and not surprisingly the 'linux' part was converted to 1. [on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)] So the attached patch simplify the macros and pass the path as string from the Makefile.
2009-08-03[config] Merge CONFIG_SHELL selection.Yann E. MORIN"3-4/+9
2009-08-02Merge the queue with all new component versions.Yann E. MORIN"2-3/+4
2009-08-02[scripts-add-version] Handle gcc 4.4+Yann E. MORIN"1-1/+5
Handle gcc-4.4+ when adding a new gcc version.
2009-08-02[config] Allow user to specify custom CONFIG_SHELLYann E. MORIN"1-0/+1
In case the shell the user wants to use as CONFIG_SHELL is located in a weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4), let the user enter the patch to the shell.
2009-08-02[config] Add bash as a possible CONFIG_SHELLYann E. MORIN"1-0/+1
On some systems and/or for some components, it may be necessary to explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02[config] Change the way to select the CONFIG_SHELLYann E. MORIN"1-3/+9
Transform the single boolean option to a 'choice' selection with two options: "sh" and "ash". This is needed to later add "bash" as override.
2009-08-02fix wrapper script for symlinksBart vdr. Meulen1-2/+3
The wrapper script placed around the target binaries when using the companion libraries does not work for symbolic links The wrapper scripts needs to follow the links before calling the actual binary Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> ---
2009-08-02Add g++ to required toolsBart vdr. Meulen1-1/+1
Because gmp is now always build with --enable-cxx, g++ has become a required tool Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com> ---
2009-06-26[samples] Don't mix canadian samples with non-canadian ones.Yann E. MORIN"2-9/+16
- 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-06-26Cleanup the handling of canadian settingsYann E. MORIN"1-6/+11
Bring handling the 'canadian' settings as par with the existing 'cross' settings.
2009-06-26Add support code for the canadian-cross case.Bart van der Meulen2-3/+21
Add implementation for a candadian build option already present in crosstool in order to build a cross-compiler where build != host != target Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26[samples] Make saveSample.sh a little bit more genericYann E. MORIN"1-12/+15
Prepare saving canadian samples by making the saveSample.sh script a little bit more generic, using conditional code-paths (even if there's currently a single code-path).
2009-06-26Don't use prefix/bin to install the buildtools.Bart van der Meulen2-9/+8
Collect the build tools in a seperate folder in order to prevent accidental calling our newly build tools. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23Fix MPFR build to recognise the Mingw32 case.Bart van der Meulen1-1/+2
Once we have canadian in place, Mingw32 can be a legitimate host, so we have to recognise that along with Cygwin. Also fix recognising Cygwin hosts. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23Use configured shell in all build-tools wrappersYann E. MORIN"1-8/+8
Abide by the user's wish to use dash as shell in build-tools wrappers, instead of plain /bin/sh.
2009-06-23Fix creating the .../lib/ directory structure in the non-sysroot caseBart van der Meulen1-2/+4
The symbol link that is created in the sysroot directory only needs to be made when the cross compiler is build with the sysroot option Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>