This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]