Hi Georges,

On Sun, Sep 06, 2020 at 05:55:48PM +0200, Georges Khaznadar wrote:
> By the way, please can you tell me some pointer, to help me to understand
> the difference between dependencies like:
> - foo
> - foo, foo:native

When you perform a cross build, any build dependency is interpreted as a
host architecture dependency. The :native annotation says that it should
be build architecture instead. If you cross build on amd64 for armhf
(most common case I guess), "foo, foo:native" becomes "foo:armhf,
foo:amd64".

In a native build, build architecture and host architecture equal.  Thus
you can ignore any :native annotations for that case. "foo, foo:native"
simply becomes "foo, foo", which becomes "foo".

I think the most detailed documentation on this lives on the ubuntu
wiki: https://wiki.ubuntu.com/MultiarchCross

Please follow up in case this doesn't help.

Helmut

Reply via email to