From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yh0-x22a.google.com ([2607:f8b0:4002:c01::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1s2z-0006dA-T6 for barebox@lists.infradead.org; Tue, 01 Jul 2014 07:00:10 +0000 Received: by mail-yh0-f42.google.com with SMTP id i57so5744722yha.1 for ; Mon, 30 Jun 2014 23:59:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 1 Jul 2014 08:59:47 +0200 Message-ID: From: Holger Schurig List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: recommendation for ARM cross-compiler for building for beaglebone black? To: "Robert P. J. Day" Cc: "U-Boot Version 2 (barebox)" I don't have a clue if that is the "best" toolchain, but I'm using this: ############################################################################# ## Toolchain ############################################################################# # http://www.linaro.org/downloads/#008 GCC_LINARO_FILE=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz GCC_LINARO_HTTP=http://releases.linaro.org/14.04/components/toolchain/binaries/ GCC_LINARO_DIR=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux CROSS_COMPILE=`pwd`/$(GCC_LINARO_DIR)/bin/arm-linux-gnueabihf- .PHONY:: toolchain toolchain all:: $(GCC_LINARO_DIR)/STAMP downloads:: downloads/$(GCC_LINARO_FILE) downloads/$(GCC_LINARO_FILE): @test `id -u` != 0 || { echo "\n---> Not as root, dude! ($@)\n"; exit 1; } mkdir -p downloads wget -q -c -P downloads $(GCC_LINARO_HTTP)/$(GCC_LINARO_FILE) $(GCC_LINARO_DIR)/STAMP: downloads/$(GCC_LINARO_FILE) @test `id -u` != 0 || { echo "\n---> Not as root, dude! ($@)\n"; exit 1; } tar xaf $< touch $@ Works okay with barebox and Linux. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox