From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 217123B260 for ; Wed, 22 Jun 2016 12:39:00 -0400 (EDT) Received: by mail-oi0-x235.google.com with SMTP id s66so30509209oif.1 for ; Wed, 22 Jun 2016 09:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=VRqM6Fg7Sqnrn6ssF6pcPzxj+1jZ2APNeFtvkbkjE4s=; b=Mf7fdCICOBqn5QkDcUWMjKw1sBr2rzVOBoarMnFvGZ6pA+ICQ5O4gxhforlr9S9GHJ gOUEM+dujsPDRaT1iyIu/7ZHlT2aqKfuAXXl3NM26i5461bOjlkaUcQEk5WU8jUW/g+H bh3H/rBSf3LdxmNKHz11CIxbXfZCAekq5zqMlqiNr9mRKExtOOgfny9uZq3VMcqGvELD H8GogCJTF/Xb7y4x2/hY/W9su2/Rz2zYqJGwqIYuNZDcESguxLSvkON2icdVju7dSFNi nbXi8Cq6ImqkRapRxNiAlZuOKhnxfhL1gErJNEtBRh2fiFFdcr7ZPWVaR3Xdu6sPEOfx lCQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=VRqM6Fg7Sqnrn6ssF6pcPzxj+1jZ2APNeFtvkbkjE4s=; b=hm8J4WExwJjTdrkuaFjdOp1U+OgaRbHDeUtX1/hcoVAAFZ+rh8oTw311v2qbmI6S7+ QVK/ry+QCXORJVzq81Dl3yQFHaE0sh7S8uK4a9xb0S+X/KSiErpvxiyQJyztDx81Hzcj Lv8MWzAtmsBg20VP20TBPRPYWpqBFXXa+AuhRnvPZ9IxPwFT+quZ8z+kVZcOMxsmkR3i xXVyopQ6sVGdYYFt7jzEdfMHliFmQCFdzAyjWXl7Du/UyKV+w8JpaEraiS3cdJzKWQjb pii1NFrRDCZQz8hkgrtVdlCAvDlDLjqY/Mx93C6zgkZJNES8/PrAHu2T6x0bYZJdbghO 6MJQ== X-Gm-Message-State: ALyK8tJzXksB3mX3j+6TnZXBz0Q2uwvYAXCbR/1GxUSTSF292S0wOKD1v7LbX7UEwZvOmQGI3O5cNowRMB8Shg== X-Received: by 10.202.49.208 with SMTP id x199mr2316079oix.112.1466613539362; Wed, 22 Jun 2016 09:38:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.175.130 with HTTP; Wed, 22 Jun 2016 09:38:58 -0700 (PDT) In-Reply-To: <87lh1xihnv.wl-jch@pps.univ-paris-diderot.fr> References: <87lh1xihnv.wl-jch@pps.univ-paris-diderot.fr> From: Dave Taht Date: Wed, 22 Jun 2016 09:38:58 -0700 Message-ID: To: Juliusz Chroboczek Cc: "cerowrt-devel@lists.bufferbloat.net" , "babel-users@lists.alioth.debian.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cerowrt-devel] 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: , X-List-Received-Date: Wed, 22 Jun 2016 16:39:00 -0000 On Wed, Jun 22, 2016 at 4:31 AM, 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 o= n > 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=3Darm-linux-gnueabihf-gcc I ended up writing a long rant about this that I will blog one day... but my short answer to both your suggestions that I cross compile or install a docker: "You kids, get off my lawn!" :) I have a tendency to need to compile things vastly more complex than babel, often more bleeding edge than what is supplied in a repo, and *knowing* that an apt-get build-dep something; then checking it out from git head, will actually work with minimal effort, is a joy. The latest generation of hackerboards are actually "real computers", because they have a working, on-board compiler and full debian (and android) support. They would be even more real if the Xwindow drivers worked worth a damn and I could hook up a keyboard, or a variety of more obscure languages (:cough: "go", "rust") actually worked, also. I would love to one day soon be back on a world where I only had to compile stuff for one architecture, and could spend more time writing code rather than dealing with ABI differences. I am impressed with the java port... Although I don't care for java much, it would be nice to carry these new protocols into android somehow. > Shncpd is a little bit trickier, since it depends on libbsd. I think I'l= l > remove the dependency before relase, but in the meantime you may either > build yourself an armhf libbsd, or install libbsd0:armhf on your system > (which requires setting up a multiarch environment), or set up > a cross-compilation chroot, or simply copy libbsd.so from the target syst= em. Compiling natively, I don't have to think about that. (does a working cross compiler exist for the aarch64 in the c2?) --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org