This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [ARM] architecture specific subdirectories & optimised memchr [V3]


On 28 September 2011 19:18, Roland McGrath <roland@hack.frob.com> wrote:
> The usual way to do this sort of thing is by using --with-cpu at configure
> time.

See discussion http://cygwin.com/ml/libc-ports/2011-08/msg00005.html

The short story is that --with-cpu sets $submachine not $machine; in this case
we're using $machine to pick up ARM variants that have incompatible
extra instructions.
We could use $submachine to pick further subvariants - e.g. machine=armv7
and submachine=cortex-a9 for stuff which just has differences in optimisation.

My first version used $submachine rather $machine to let you do this
but was persuaded
that it was the wrong way!

Dave


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