From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 0AF1F3B2BF for ; Wed, 22 Jun 2016 08:08:25 -0400 (EDT) Received: by mail-oi0-x243.google.com with SMTP id w141so3230428oia.0 for ; Wed, 22 Jun 2016 05:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=j44EqHeNRNXi6Q6NWjUQ3d5KmaHIsZH8oJa8pMzOf/0=; b=mglfBxHp6rc8ghPm1rfRcRm2Hm2LbrK7rc0w2OBzJ9Kq4C9jPfjNJeUNgF3UZoFCpc Zc4miWvG4Wf4GVhKFBrk58eFYU0OexzFS2SSQqPItpPlkxykSnkuYe49beq9YU3t5Ba6 F7k8Q1gEjN7sxJ3tL7EnedaqETtZrgSO2F19+b9LEt6TrKxGsiUgR0NM5UFcZJ2gni0O SSSoeNhIaIooFw2wJm92poQnGqmgQVB1RBjUjvP8kHijCzmPZ3sE6GO8V34gexOomPtv xiGpYnG72VF5ikRfIpo9rF8rJGmqZPkJ9bJlXIbEHaaYapVV2+IDa2xma5CucsOuTYlK R0mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=j44EqHeNRNXi6Q6NWjUQ3d5KmaHIsZH8oJa8pMzOf/0=; b=GNzFCzDyXVGvjmKoDA868NoLW/AvkD0/1azQu9kNDUxuMrmVDmDxbDjP/hTie3j6vA BrZ4VVsbenTLLaOOfHYJeskkJIw4AZSy2wkVfQaaxdWjWOCD8WV3O9U0vHP8KAooK51R DiZNXuFIMoSB4WRVd9NjOOdRapQ4ls1dgTpHxr0HWzqiY0qanU5P6unw9tL9AgSD+B7O dkzijljaDMONOIMjMcgIzywq6+CKlHArXMRe/LKG3EmXSq8u8AOK7phL5qFBi+YwpiHB 8SuI06F1vWGDLn5OQVT3au9EoF4NjgUadLMrFk3atqyOl05qBHjiinTwoWNGrz2rumUm yYvg== X-Gm-Message-State: ALyK8tI2u4+AjLIcY5r7ypDkBnfcHwWJknr2EuM4pvpMCsc4UQeiTOZJX9SYik27TekoI1JwUJ8kHCsP9MNdIA== X-Received: by 10.202.54.67 with SMTP id d64mr1291293oia.96.1466597305479; Wed, 22 Jun 2016 05:08:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.59.197 with HTTP; Wed, 22 Jun 2016 05:08:24 -0700 (PDT) Reply-To: zoobab@gmail.com In-Reply-To: <87lh1xihnv.wl-jch@pps.univ-paris-diderot.fr> References: <87lh1xihnv.wl-jch@pps.univ-paris-diderot.fr> From: Benjamin Henrion Message-ID: To: Juliusz Chroboczek Cc: Dave Taht , "babel-users@lists.alioth.debian.org" , "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 30 Mar 2020 07:21:14 -0400 Subject: Re: [Cerowrt-devel] [Babel-users] Cross-compiling to armhf [was: beaglebone green wireless boards...] X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 22 Jun 2016 12:08:26 -0000 X-Original-Date: Wed, 22 Jun 2016 14:08:24 +0200 X-List-Received-Date: Wed, 22 Jun 2016 12:08:26 -0000 On Wed, Jun 22, 2016 at 1:31 PM, Juliusz Chroboczek wrote: >> The preinstalled OS has sufficient compiler and onboard flash space to >> build a current babeld from git, and I'm happy to report IPV6_SUBTREES >> is compiled in by default. > > Dave, > > It's not the first time that I notice with wonder that you're compiling on > the devel boards. Are you aware that cross-compiling babeld to armhf is > so easy it's not even funny? > > sudo apt-get install gcc-arm-linux-gnueabihf > make CC=arm-linux-gnueabihf-gcc Well, I have been pushing for those xcompilers 10 years ago, depending on the distro you use, it is still not in Debian stable: https://packages.debian.org/search?keywords=gcc-arm-linux-gnueabihf So if you use Ubuntu, it is there since 12.04LTS: http://packages.ubuntu.com/search?keywords=gcc-arm-linux-gnueabihf Otherwise, if you want to avoid the "compile on the target", you could also run the following qemu+docker trick, even though docker should not be a requirement, it should be doable with chroot: docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static philipz/rpi-raspbian bash Best, -- Benjamin Henrion FFII Brussels - +32-484-566109 - +32-2-3500762 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators."