aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* | config: fix indentation for options marked EXPERIMENTAL or OBSOLETEYann E. MORIN"2009-09-131-3/+3
| | | | | | | | | | Change the 2-space separation into a 1-space separation, for the sake of homogeneity.
* | scripts: add new version at top of choiceYann E. MORIN"2009-09-131-9/+9
|/ | | | Add new versions at the top of the choice menu, not at the bottom.
* comp-libs/cloog: new versions have the version number in the dir nameYann E. MORIN"2009-09-121-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.
* samples: fix saving samplesYann E. MORIN"2009-09-121-1/+1
| | | | Use a correct sed pattern when setting CT_PREFIX_DIR
* libc/eglibc: fix downloadYann E. MORIN"2009-09-121-1/+1
| | | | Fix the test to check if download is forced.
* samples: show the PPL, GLoog/ppl and MPC versionsYann E. MORIN"2009-09-071-1/+4
| | | | When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
* samples: fix displaying selected toolsYann E. MORIN"2009-09-071-7/+7
| | | | Do display selected tools / debug facilities when displaying a sample.
* samples: replace usage of echo with printfYann E. MORIN"2009-09-071-9/+10
| | | | Using printf instead of echo allows easier and better formatting.
* tools wrapper: fix buildingYann E. MORIN"2009-09-061-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.
* crosstool.sh.in: better mesage when creating script-overridesYann E. MORIN"2009-09-061-1/+1
|
* log functions: fix CT_DoLog and CT_DoExecLogYann E. MORIN"2009-09-061-2/+2
| | | | $@ and $* are different when in double quotes; use $* to print the message.
* config.{gues,sub}: updateYann E. MORIN"2009-09-012-10/+16
|
* config: add fallback to patch orderYann E. MORIN"2009-08-311-0/+3
| | | | | Add the possibility to fallback to either bundled or local patches if local or bundled are missing.
* config: add the local,bundled patch orderYann E. MORIN"2009-08-311-0/+1
| | | | This ordering first applies the local patches, then the bundeld ones.
* config: make selecting the patch origin a choice rather than a boolYann E. MORIN"2009-08-311-9/+17
|
* functions: do not over-detect error when patchingYann E. MORIN"2009-08-311-1/+0
|
* tools wrapper: fix error due to unused argumentYann E. MORIN"2009-08-301-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.
* tools wrapper: correctly install the C wrapperYann E. MORIN"2009-08-301-0/+1
| | | | When building the C wrapper, specify the source file to be compiled.
* tools wrapper: introduce the silent WRAPPER_NEEDED config optionYann E. MORIN"2009-08-301-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.
* Merge the C wrapper.Yann E. MORIN"2009-08-302-3/+147
|\
| * config: choose whether to use the shell or the C wrapperYann E. MORIN"2009-08-301-3/+19
| | | | | | | | | | Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
| * tool wrapper: add initial wrapper coded in CYann E. MORIN"2009-08-291-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
* | duma: fix downloading by forcing extension to .tar.gzYann E. MORIN"2009-08-281-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.
* glibc: fix build error caused by incorrect variable assignmentJim F2009-08-241-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.
* Merge the bash_array branch.Yann E. MORIN"2009-08-196-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.
| * Allow setting --enable-cxx-flags on gcc ./configureYann E. MORIN"2009-08-191-0/+3
| | | | | | | | | | Some setups require one to pass extra CXX flags at the time of ./configure. Make it easy.
| * Use bash arrays to store binutils config optionsYann E. MORIN"2009-08-191-18/+26
| |
| * Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-34/+44
| | | | | | | | Change extra_config from a string to a array of options.
| * Make gdb's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-21/+28
| | | | | | | | Change extra_config from a string to a array of options.
| * Make dmalloc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-9/+10
| | | | | | | | Change extra_config from a string to a array of options.
| * Make gcc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-41/+50
| | | | | | | | Change extra_config from a string to a array of options.
| * Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-12/+14
| | | | | | | | Change extra_config from a string to a array of options.
| * [libc-eglibc] Rewrite part of the codeYann E. MORIN"2009-07-271-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.
| * [libc-eglibc] Fix testing for existing filesYann E. MORIN"2009-07-271-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".
* | Merge the AVR32 support branch to the default branch.Yann E. MORIN"2009-08-082-0/+98
|\ \
| * | Removed debug lineMartin Lund2009-06-201-2/+0
| | |
| * | Fix libc configMartin Lund2009-06-201-3/+4
| | |
| * | Misc AVR32 cleanups.Martin Lund2009-06-201-4/+0
| | |
| * | Changed copyrightMartin Lund2009-06-141-2/+2
| | |
| * | Added support for Atmel AVR32 headersMartin Lund"2009-05-231-2/+17
| | |
| * | Temp fix for newlib configure. Updated avr32 crosstool.config.Martin Lund"2009-05-221-3/+4
| | |
| * | Added initial AVR32 support (bare-metal,newlib)Martin Lund"2009-05-222-0/+87
| | |
* | | [complib:mpfr] Fix building MPFR in some weird casesOron Peled2009-08-031-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.
* | | [config] Merge CONFIG_SHELL selection.Yann E. MORIN"2009-08-033-4/+9
|\ \ \
| * \ \ Merge the queue with all new component versions.Yann E. MORIN"2009-08-022-3/+4
| |\ \ \
| | * | | fix wrapper script for symlinksBart vdr. Meulen2009-08-021-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> ---
| | * | | Add g++ to required toolsBart vdr. Meulen2009-08-021-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> ---
| * / | [scripts-add-version] Handle gcc 4.4+Yann E. MORIN"2009-08-021-1/+5
| |/ / | | | | | | | | | Handle gcc-4.4+ when adding a new gcc version.
* | | [config] Allow user to specify custom CONFIG_SHELLYann E. MORIN"2009-08-021-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.
* | | [config] Add bash as a possible CONFIG_SHELLYann E. MORIN"2009-08-021-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.