2015-08-12 15:47 GMT+08:00 Mike Frysinger <vap...@gentoo.org>:

> On 12 Aug 2015 15:20, Leno Hou wrote:
> >> 2.  How to control endian difference via profiles ? i.e.  *How to get
> >> ppc64le as a full stage/profile along side ppc64* ?
> >>      Could you give me in detail ?
>
> >you probably want to create a new profile dir:
> >        profiles/arch/powerpc/ppc64/little-endian/
> >then add a make.defaults file with the right CHOST defaults.  as we find
> >packages that have problems on little endian, that provides you a safe
> >space to mask features too.
>
> >then create a new target for linux users:
> >
>  profiles/default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian/
> >that'll inherit the arch/powerpc/ppc64/little-endian parent
>
> I tried this way and could merge some packages quite well, that's great
and really helpful.
But I still quite confused about the CHOST, such as if I couldn't compile
"sandbox" successfully in this method, however when I tried to use ppc32's
profile, it builds well without any errors (similar situation of other
packages on ppc64's profile as well). What's that mean? how to fix this?
Could you give me some details ?

>
>
-- Linda

Reply via email to