[PATCH v3] powerpc64*: fix the order of implied sysdeps directories

Joseph Myers joseph@codesourcery.com
Fri Mar 9 16:39:00 GMT 2018


On Thu, 8 Mar 2018, Gabriel F. T. Gomes wrote:

> >Ok, how about this then: put the BE file in .../powerpc64/be, the LE
> >files in .../powerpc64/le, and keep the common files in .../powerpc64?
> 
> While I can see the advantage of keeping the common files in .../powerpc64
> (i.e.: most of the renamings in this patch disappear), I am not sure about
> changing the name of the machine directories.  Notice that the configure
> script will guess the name of the machine from the compiler triplet, so
> big-endian automatically brings .../powerpc64, and little-endian
> brings .../powerpc64le.
> 
> So, moving machine directories to .../powerpc64/{be,le}, means that
> something needs to convert powerpc64 (from the triplet) to powerpc64/be
> and powerpc64le to powerpc64/le.  Moreover, I think that this will
> implicitly imply ".../powerpc64" for both big-endian and little-endian.

The code in question is sysdeps/powerpc/preconfigure; you'd need to change 
the machine settings therein.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list