Bart van der Meulen
c8c70933f0
Don't use prefix/bin to install the buildtools.
...
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-26 19:09:22 +02:00
Bart van der Meulen
936286668b
Fix MPFR build to recognise the Mingw32 case.
...
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-23 22:57:12 +02:00
Yann E. MORIN"
ecb02cb9dc
Use configured shell in all build-tools wrappers
...
Abide by the user's wish to use dash as shell in
build-tools wrappers, instead of plain /bin/sh.
2009-06-23 22:56:39 +02:00
Bart van der Meulen
f9d93f2b91
Fix creating the .../lib/ directory structure in the non-sysroot case
...
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-23 22:52:14 +02:00
Yann E. MORIN"
b816a5e6c9
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
...
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 22:52:13 +02:00
Yann E. MORIN"
abfd68cbc3
[tools] Update config.guess and config.sub
...
Update from upstream.
2009-06-23 22:52:13 +02:00
Yann E. MORIN"
4f48f57e86
Remove left-over debug lines.
...
Remove two lines of code that were commented out and are definitely not used.
2009-06-23 22:49:50 +02:00
Yann E. MORIN"
56a26d84e1
Check paths sanity before they get used.
...
Don't use the PATHs before they get checked for sanity.
2009-06-22 21:53:09 +02:00
Yann E. MORIN"
f8828f22c3
Better check for spaces in paths
...
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 21:51:14 +02:00
Yann E. MORIN"
4cd607512b
[functions] Allow newlines (\n) in log messages
...
Allow caller to log messages with embedded newlines when calling
CT_DoLog and other logging functions (eg. CT_Abort...).
2009-06-22 21:51:13 +02:00
Martin Lund
bfe21badf8
Removed debug line
2009-06-20 19:42:00 +02:00
Martin Lund
b4467e6617
Fix libc config
2009-06-20 18:54:56 +02:00
Martin Lund
8fb846f5b5
Misc AVR32 cleanups.
2009-06-20 17:16:54 +02:00
Yann E. MORIN"
3ffe23e274
[finish-step] Fix the tools wrappers
...
Use the correct variable when iterating upon the tools
name to correctly link the tools to the wrapper.
2009-06-18 18:55:07 +02:00
Yann E. MORIN"
1015f6f33c
Add .hgignore file.
...
List all generated or temp files in .hgignore, so they
don't clutter the screen when running hg status.
2009-06-17 15:27:55 +02:00
Yann E. MORIN"
f7535c2f62
Merge the gcc-4.4 support.
2009-06-17 12:32:01 +02:00
Yann E. MORIN
302dd084c2
[gcc] Merge the gcc-4.4 suport to the default branch, from 1407:83083566fdd0
2009-06-17 11:38:04 +02:00
Yann E. MORIN
221701baf7
[configure] Use hg to compute the version string
...
Now that we have migrated to hg from svn, it does not make sense
to keep using svn tools to compute the version string, so switch
to using mercurial tools (that are much more flexible, BTW).
2009-06-17 10:46:28 +02:00
Yann E. MORIN
a7ff05b022
[finish-step] Use local variable in finish-step
...
When wrapping the tools, use a local variable when iterating.
2009-06-14 22:57:57 +02:00
Yann E. MORIN
008ae8e550
[companion-libs] Fix spaces in help entries
...
Some help entries were missing proper alignment-spaces.
2009-06-14 22:56:26 +02:00
Martin Lund
6b2b096869
Changed copyright
2009-06-14 22:43:33 +02:00
Yann E. MORIN
a393a72f5f
[populate] enhance documentation
...
This patch adds explanations on how
populate works internally.
2009-06-14 21:44:33 +02:00
Yann E. MORIN
bdf80a8db9
[populate] fix documentation
...
This patch fixes the existing documentation:
- document -l and -L
- use syntax more in line with the help entry
2009-06-14 21:43:55 +02:00
convert-repo
d37e2629ab
update tags
2009-06-14 18:19:22 +00:00
Yann E. MORIN"
c564be2675
populate: fix installing dynamic linker 'ld.so'
...
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-11 21:47:19 +00:00
Yann E. MORIN"
75910da109
/devel/gcc-4.4:
...
- add first sample using gcc-4.4
-------- diffstat follows --------
/devel/gcc-4.4/samples/arm-cortex_a8-linux-gnueabi/crosstool.config | 852 852 0 0 +++++++++++++++++++
/devel/gcc-4.4/samples/arm-cortex_a8-linux-gnueabi/reported.by | 6 6 0 0 +
2 files changed, 858 insertions(+)
2009-06-02 21:36:25 +00:00
Yann E. MORIN"
ae0b568200
/devel/gcc-4.4:
...
- TODO: remove completed items
-------- diffstat follows --------
/devel/gcc-4.4/TODO | 6 1 5 0 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
2009-06-02 21:34:26 +00:00
Yann E. MORIN"
a07693b13c
/devel/gcc-4.4:
...
- ./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 21:01:19 +00:00
Yann E. MORIN"
d9e898bdbc
/devel/gcc-4.4:
...
- 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 17:33:04 +00:00
Yann E. MORIN"
d9ba421c78
/devel/gcc-4.4:
...
- 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-02 06:34:11 +00:00
Yann E. MORIN"
1505eb7621
/devel/gcc-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 18:03:23 +00:00
Yann E. MORIN"
3e31171cea
/devel/gcc-4.4:
...
- just a slight menuconfig beautification in companion libraries menu
-------- diffstat follows --------
/devel/gcc-4.4/config/companion_libs.in | 11 7 4 0 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
2009-06-01 17:05:50 +00:00
Yann E. MORIN"
f05ecb8360
/devel/gcc-4.4:
...
- 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 15:53:42 +00:00
Yann E. MORIN"
93e6bcb1c0
/devel/gcc-4.4:
...
- fix building strace-4.5.18
-------- diffstat follows --------
/devel/gcc-4.4/patches/strace/4.5.18/180-arm-EABI-syscalls.patch | 23 23 0 0 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
2009-06-01 13:31:12 +00:00
Yann E. MORIN"
5b6ee5d9a7
/devel/gcc-4.4:
...
- 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-06-01 11:34:57 +00:00
Yann E. MORIN"
37f6f7ec43
/devel/gcc-4.4:
...
- make glibc-2.9 build with gcc-4.4.0.
-------- diffstat follows --------
/devel/gcc-4.4/patches/glibc/2.9/570-debug-readlink_chk-readklinkat_chk.patch | 24 24 0 0 ++++++++++
/devel/gcc-4.4/patches/glibc/2.9/560-syslog.patch | 12 12 0 0 +++++
2 files changed, 36 insertions(+)
2009-06-01 09:23:23 +00:00
Yann E. MORIN"
637b137512
/devel/gcc-4.4:
...
- 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 21:16:01 +00:00
Yann E. MORIN"
5801d8c588
/devel/gcc-4.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 21:08:17 +00:00
Yann E. MORIN"
9a954cd1a2
/devel/gcc-4.4:
...
- 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-27 21:07:37 +00:00
Yann E. MORIN"
c1979b98ae
/devel/gcc-4.4:
...
- gdb: select the correct config knob to use GMP and MPFR
-------- diffstat follows --------
/devel/gcc-4.4/config/debug/gdb.in | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2009-05-25 20:27:14 +00:00
Yann E. MORIN"
f149116490
/devel/gcc-4.4:
...
- 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 20:09:17 +00:00
Yann E. MORIN"
51a84be902
/devel/gcc-4.4:
...
- companion libraries: typo in help entry
-------- diffstat follows --------
/devel/gcc-4.4/config/companion_libs.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-25 20:04:12 +00:00
Yann E. MORIN"
7ae18a8527
/devel/gcc-4.4:
...
- TODO: remove completed items
-------- diffstat follows --------
/devel/gcc-4.4/TODO | 1 0 1 0 -
1 file changed, 1 deletion(-)
2009-05-25 19:48:42 +00:00
Yann E. MORIN"
21649be476
/devel/gcc-4.4:
...
- 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 19:46:58 +00:00
Yann E. MORIN"
87cf57e3ba
/devel/gcc-4.4:
...
- TODO: remove completed items (companion libs are now in).
-------- diffstat follows --------
/devel/gcc-4.4/TODO | 6 1 5 0 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
2009-05-25 18:23:38 +00:00
Yann E. MORIN"
52e72144d7
/devel/gcc-4.4:
...
- 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 18:22:26 +00:00
Yann E. MORIN"
843a16f70c
/devel/gcc-4.4:
...
- 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-25 17:26:21 +00:00
Yann E. MORIN"
17b97a21ba
/devel/gcc-4.4:
...
- TODO: add new item
-------- diffstat follows --------
/devel/gcc-4.4/TODO | 1 1 0 0 +
1 file changed, 1 insertion(+)
2009-05-25 17:22:54 +00:00
Yann E. MORIN"
2c2dd2e5fe
/devel/gcc-4.4:
...
- GMP & MPFR: do not check the libraries by
default, update the help entries accordingly
-------- diffstat follows --------
/devel/gcc-4.4/config/companion_libs/gmp.in | 13 9 4 0 +++++++++----
/devel/gcc-4.4/config/companion_libs/mpfr.in | 14 10 4 0 ++++++++++----
2 files changed, 19 insertions(+), 8 deletions(-)
2009-05-25 17:16:49 +00:00
Yann E. MORIN"
822fb9415e
/devel/gcc-4.4:
...
- 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 22:04:14 +00:00