[ptxdist] [PATCH 1/7] add fake build type to HOST_CROSS_AUTOCONF

2012-02-12 Thread Andreas Bießmann
If we build a cross toolchain where build == host == target the resulting tools lack the host-tripplet before the tool name. This patch introduce a '--build' autoconf switch with guessed (and modified) build host tripplet from ptxdist to supress the generic autoconf guessing mechanism in

[ptxdist] [PATCH 2/7] architecture.in: add x86_64 arch

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andr...@biessmann.de --- rules/architecture.in |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/rules/architecture.in b/rules/architecture.in index 3308ef0..fe3c9f7 100644 --- a/rules/architecture.in +++ b/rules/architecture.in @@ -16,6

[ptxdist] [PATCH 3/7] add x86_64-unknown-linux-gnu configuration

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andr...@biessmann.de --- ...utils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig | 118 1 files changed, 118 insertions(+), 0 deletions(-) create mode 100644

[ptxdist] [PATCH 4/7] fixup_ptxconfigs.sh: add x86_64 target

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andr...@biessmann.de --- fixup_ptxconfigs.sh |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh index da5ecd0..e6f0f7a 100755 --- a/fixup_ptxconfigs.sh +++ b/fixup_ptxconfigs.sh @@ -120,6 +120,9

[ptxdist] [PATCH 5/7] glibc-headers: prepare for x86_64 build

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andr...@biessmann.de --- rules/glibc-headers.make |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/rules/glibc-headers.make b/rules/glibc-headers.make index 205e292..e4627eb 100644 --- a/rules/glibc-headers.make +++

[ptxdist] [PATCH 6/7] gcc-4.6.2: add pure64 patch for x86_64

2012-02-12 Thread Andreas Bießmann
The pure64 patch set the ld loader path to /lib instead of /lib64 for x86_64 builds. Signed-off-by: Andreas Bießmann andr...@biessmann.de --- .../0304-gcc-i386-use-pure64-CLFS-patch.patch | 47 patches/gcc-4.6.2/series |3 +- 2 files

[ptxdist] [PATCH 7/7] glibc: force slibdir to /lib

2012-02-12 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann andr...@biessmann.de --- rules/glibc-crt.make |4 ++-- rules/glibc-first.make |1 + rules/glibc.make |3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make index f597787..93ec9c5 100644

[ptxdist] [PATCH 3/3] Fix build without gettext

2012-02-12 Thread Bernhard Walle
The build system checks for gettext and if it doesn't find it, it uses empty definitions for _(). However, localedef.c uses gettext() directly on some places and calls textdomain(). Add two empty definitions in libintl.h so that no liker errors are generated when linking gettext. This patch is

[ptxdist] [PATCH] u-boot: Allow copying of u-boot SPL to images

2012-02-12 Thread Bernhard Walle
This patch adds two options: 1) U_BOOT_INSTALL_MLO copies the MLO (u-boot SPL which replaces x-loader for OMAP CPUs) to the images directory. 2) U_BOOT_INSTALL_U_BOOT_IMG copies u-boot.img in addition to the u-boot binary because u-boot SPL expects the u-boot.img (which contains an

Re: [ptxdist] [PATCH 0/7] OSELAS.Toolchain: add x86_64-unknown-linux-gnu glibc toolchain

2012-02-12 Thread Klaus . Hachmeister
Is it possible to have a toolchain host= x86_32 target= x86_64 ? The gcc should run on 32 bit system, but should generate 64 bit code. (crosscompiler) The libraries for the target should be 64 bit. ('pure64' x86_64-unknown-linux-gnu glibc) /lib only instead of /lib and/or /lib64 on the