This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 8/29/08, Marc Kleine-Budde <mkl@pengutronix.de> wrote: > check out: > > https://iocaste.penguin.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk > > which is to be used with ptxdist-1.99.6: > > http://www.pengutronix.de/software/ptxdist/download/v1.99/ptxdist-1.99.6.tgz > http://www.pengutronix.de/software/ptxdist/download/v1.99/ptxdist-1.99.6-patches.tgz > > The newest toolchain is: > > arm-v4t-linux-gnueabi_gcc-4.3.2-RC-20080819_glibc-2.8-20080811_linux-2.6.26-sanitized > (which uses binutils 2.18, which could be newer) Thanks! Here are a couple of necessary patches: - one to be able to build anything *other* than timestamped glibc - one to create $(SYSROOT)/usr/include/asm if it doesn't already exist That's enough to get to the "more interesting" problems... :-/ In case anyone else wants to look at this, I attach a cheat sheet of the commands necessary to set it up - you probably better read that before you run it... Cheers M
If GLIBG_TIMESTAMP is set but empty (eg clearing the fiels in menuconfig) the build dies trying to download "glibc-2.7-.tar.bz" and "glibc-2.7-ports-.tar.bz" Index: rules/glibc.make =================================================================== --- rules/glibc.make (revision 7319) +++ rules/glibc.make (working copy) @@ -22,8 +22,10 @@ GLIBC_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_VERSION)) endif ifdef PTXCONF_GLIBC_TIMESTAMP +ifneq ($(PTXCONF_GLIBC_TIMESTAMP),"") GLIBC_TIMESTAMP := -$(call remove_quotes,$(PTXCONF_GLIBC_TIMESTAMP)) endif +endif GLIBC := glibc$(GLIBC_VERSION)$(GLIBC_TIMESTAMP) GLIBC_SUFFIX := tar.bz2 Index: rules/glibc-ports.make =================================================================== --- rules/glibc-ports.make (revision 7319) +++ rules/glibc-ports.make (working copy) @@ -22,11 +22,12 @@ GLIBC_PORTS_VERSION := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_VERSION)) endif +GLIBC_PORTS := glibc-ports$(GLIBC_PORTS_VERSION) ifdef PTXCONF_GLIBC_TIMESTAMP + ifneq ($(PTXCONF_GLIBC_TIMESTAMP),"") GLIBC_PORTS_TIMESTAMP := -$(call remove_quotes,$(PTXCONF_GLIBC_PORTS_TIMESTAMP)) GLIBC_PORTS := glibc$(GLIBC_PORTS_VERSION)-ports$(GLIBC_PORTS_TIMESTAMP) -else -GLIBC_PORTS := glibc-ports$(GLIBC_PORTS_VRESION) + endif endif GLIBC_PORTS_SUFFIX := tar.bz2
Build fails if $(SYSROOT)/use/include/asm does not already exist, so create it. This patch also avoids creating $(SYSROOT)/usr/include/asm-generic/asm-generic on subsequent runs. Index: rules/kernel-headers.make =================================================================== --- rules/kernel-headers.make (revision 7319) +++ rules/kernel-headers.make (working copy) @@ -50,7 +50,6 @@ KERNEL_HEADERS_PATH := PATH=$(HOST_PATH) KERNEL_HEADERS_ENV := $(HOST_ENV) KERNEL_HEADERS_MAKEVARS := ARCH=$(PTXCONF_ARCH) $(PARALLELMFLAGS) - $(STATEDIR)/kernel-headers.prepare: @$(call targetinfo) @@ -88,8 +87,9 @@ else mkdir -p $(SYSROOT)/usr/include cp -r $(KERNEL_HEADERS_DIR)/include/linux $(SYSROOT)/usr/include + mkdir -p $(SYSROOT)/usr/include/asm cp -r $(KERNEL_HEADERS_DIR)/include/asm/* $(SYSROOT)/usr/include/asm - cp -r $(KERNEL_HEADERS_DIR)/include/asm-generic $(SYSROOT)/usr/include/asm-generic + cp -r $(KERNEL_HEADERS_DIR)/include/asm-generic $(SYSROOT)/usr/include/ endif @$(call touch)
Attachment:
OSELAS-SETUP.sh
Description: Bourne shell script
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |