[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] how does ports/unique cpu selection work?
- To: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [patches] how does ports/unique cpu selection work?
- From: Khem Raj <raj.khem@xxxxxxxxx>
- Date: Mon, 25 Jul 2011 14:45:35 -0700
On Fri, Jul 22, 2011 at 6:44 AM, Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> wrote:
> I've been looking at the code and hoping someone could point me in the right direction on how a given unique processor that might have optimized libraries is chosen via the build/config system.
>
> For example on powerpc how does one get the code in 'libc/sysdeps/powerpc/powerpc32/a2' picked up when doing a build?
>
when you use -mcpu=<xxx> or --with-cpu=xxx then configure will add xxx
to the fragments. e.g. in above case when configuring --with-cpu=a2
the above fragment will be searched.
-Khem