Peter Maydell <[email protected]> writes:

> On 20 April 2018 at 03:57, Philippe Mathieu-Daudé <[email protected]> wrote:
>> On 04/19/2018 02:58 PM, Peter Maydell wrote:
>>> I don't think we really want to get into the business of
>>> building our own cross compilers if we can avoid it...it's harder
>>> than it looks and we would be essentially reinventing the wheel.
>>
>> I totally agree.
>>
>> I'v been looking at existing maintained images we can use to
>> cross-build, so we only have to pull (download) and image and use it,
>> not wasting cpu time building it.
>
> Projects that are in the "maintain cross toolchains" business:
>  * buildroot
>  * https://github.com/richfelker/musl-cross-make

I'll have a look at those. My previous attempts were using:

  https://wiki.linaro.org/ABE
  https://crosstool-ng.github.io/

I certainly don't want to be in the business of inventing yet another
set of scripts to build cross compilers!

>
> But really my feeling is that we should for the moment stick
> to getting a reliable test setup for the architectures that
> Debian does provide cross toolchains for. That will give us:
>  * much more coverage than we have at the moment
>  * coverage for the guests that people actually care about
>
> We can always come back and think about filling in the gaps later.

Don't worry - not having every single architecture done isn't going to
stop the eventual submission. However it would be nice to have at least
one non-Debian cross-compiler setup as an example and to validate the
compiler-in-docker approach.

>
> thanks
> -- PMM


--
Alex Bennée

Reply via email to