summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-06-23Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.Yann E. MORIN"1-0/+1
In the non-sysroot-ed case, the debuf-root directory would not be set; debug tools would have been installed God-only-knows-where... Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
2009-06-23[tools] Update config.guess and config.subYann E. MORIN"2-47/+29
Update from upstream.
2009-06-23Remove left-over debug lines.Yann E. MORIN"1-2/+0
Remove two lines of code that were commented out and are definitely not used.
2009-06-22Check paths sanity before they get used.Yann E. MORIN"1-27/+27
Don't use the PATHs before they get checked for sanity.
2009-06-22Better check for spaces in pathsYann E. MORIN"1-3/+14
Spaces are evil in paths. Print the path that contains a sapce. Don't print computed paths, as they'rebased on provided paths, and don't get space added into them.
2009-06-22[functions] Allow newlines (\n) in log messagesYann E. MORIN"1-1/+1
Allow caller to log messages with embedded newlines when calling CT_DoLog and other logging functions (eg. CT_Abort...).
2009-06-20Removed debug lineMartin Lund1-2/+0
2009-06-20Fix libc configMartin Lund1-3/+4
2009-06-20Misc AVR32 cleanups.Martin Lund1-4/+0
2009-06-18[finish-step] Fix the tools wrappersYann E. MORIN"1-1/+1
Use the correct variable when iterating upon the tools name to correctly link the tools to the wrapper.
2009-06-17[gcc] Merge the gcc-4.4 suport to the default branch, from 1407:83083566fdd0Yann E. MORIN12-54/+274
2009-06-14[finish-step] Use local variable in finish-stepYann E. MORIN1-4/+4
When wrapping the tools, use a local variable when iterating.
2009-06-14Changed copyrightMartin Lund1-2/+2
2009-06-11populate: fix installing dynamic linker 'ld.so'Yann E. MORIN"1-33/+43
The dynamic linker, ld.so, needs the execute bit to be set. Detect tht the library being installed is in fact ld.so and install it with 0755 instead of 0644. Fix detecting src == dst. Use a simpler command to copy src -> dst. Also change echo to printf, get rid of 'echo -n', which is highly non-portable. -------- diffstat follows -------- /trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++----------------------- 1 file changed, 43 insertions(+), 33 deletions(-)
2009-06-02/devel/gcc-4.4:Yann E. MORIN"2-9/+18
- ./configure: check for 'stat', needing to install the tools wrapper - wrapper: make it a POSIX-compliant script, restore relocatability - don't install the wrapper for symlinks -------- diffstat follows -------- /devel/gcc-4.4/configure | 1 1 0 0 + /devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------ /devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++--- 3 files changed, 19 insertions(+), 9 deletions(-)
2009-06-02/devel/gcc-4.4:Yann E. MORIN"2-0/+34
- add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++ /devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++ 2 files changed, 34 insertions(+)
2009-06-02/devel/gcc-4.4:Yann E. MORIN"1-1/+1
- populate.in: typo -------- diffstat follows -------- /devel/gcc-4.4/scripts/populate.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-06-01/devel/gcc-4.4:Yann E. MORIN"2-4/+4
- build shared CLooG/ppl and MPC libraries, don't build static ones. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 4 2 2 0 ++-- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
2009-06-01/devel/gcc-4.4:Yann E. MORIN"2-0/+6
- PPL, CLooG/PPL: remove uselessly installed files. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 3 0 0 +++ /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 3 3 0 0 +++ 2 files changed, 6 insertions(+)
2009-06-01/devel/gcc-4.4:Yann E. MORIN"1-8/+17
- fix buildging glibc in // -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/libc/glibc.sh | 25 17 8 0 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-)
2009-05-27/devel/gcc-4.4:Yann E. MORIN"1-2/+18
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset - gcc-4.4.0 auto-selects and uses appropriate companion linraries -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 + /devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++ /devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++ /devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++ /devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 + /devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 + 27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-27/devel/gcc-4.4:Yann E. MORIN"1-0/+4
- crosstool-NG.sh.in: include prefix/lib in LD_LIBRARY_PATH -------- diffstat follows -------- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 4 4 0 0 ++++ 1 file changed, 4 insertions(+)
2009-05-27/devel/gcc-4.4:Yann E. MORIN"1-0/+30
- functions: add a utility function that sets and exports LD_LIBRARY_PATH -------- diffstat follows -------- /devel/gcc-4.4/scripts/functions | 30 30 0 0 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
2009-05-25/devel/gcc-4.4:Yann E. MORIN"1-20/+13
- gcc build script: no longer use the gcc-4.4 snapshot version -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 33 13 20 0 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-)
2009-05-25/devel/gcc-4.4:Yann E. MORIN"5-7/+7
- commonalise the config-knobs that: - enable checking the newly built companion libraries - enable building the companion libraries for the target -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +- /devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++-------- 11 files changed, 42 insertions(+), 85 deletions(-)
2009-05-25/devel/gcc-4.4:Yann E. MORIN"4-4/+64
- add support for building the MPC library. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++ /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++ /devel/gcc-4.4/steps.mk | 1 1 0 0 + /devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++ /devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++--- 7 files changed, 107 insertions(+), 9 deletions(-)
2009-05-25/devel/gcc-4.4:Yann E. MORIN"1-9/+2
- GMP: unconditionnaly build the C++ wrappers and use exceptions -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"3-1/+65
- add support for building CLooG -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++ /devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++ /devel/gcc-4.4/steps.mk | 1 1 0 0 + /devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++ /devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 + 6 files changed, 99 insertions(+), 1 deletion(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-2/+2
- cleanup the PPL build -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-1/+1
- cleanup GMP build -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-3/+4
- build a shared ppl, don't build a static ppl -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-2/+2
- build a shared mpfr, don't build a static mpfr -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-3/+3
- build a shared gmp, don't build a static gmp -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)