[Babel-users] Cross-compiling to armhf [was: beaglebone green wireless boards...]

Benjamin Henrion zoobab at gmail.com
Wed Jul 13 08:05:30 UTC 2016


On Thu, Jun 23, 2016 at 7:54 PM, Benjamin Henrion <zoobab at gmail.com> wrote:
> On Wed, Jun 22, 2016 at 6:38 PM, Dave Taht <dave.taht at gmail.com> wrote:
>> On Wed, Jun 22, 2016 at 4:31 AM, Juliusz Chroboczek
>> <jch at pps.univ-paris-diderot.fr> 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
>>
>>
>> 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 never understood why you could not have some GCC with all the
> different arch built-in with just a switch flag like --arch="armv7".
>
> That would simplify the life of developers and packagers alike.

I discovered recently that Xcode is just doing that:

https://twitter.com/zoobab/status/751057066496753664

For example:

xcodebuild -configuration "Release" -arch armv7 install DSTROOT=/tmp/lzfse.dst

--
Benjamin Henrion <bhenrion at ffii.org>
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."



More information about the Babel-users mailing list