[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building with -msse



On Sun, Apr 27, 2008 at 04:06:40PM +0200, Goswin von Brederlow wrote:
> Kurt Roeckx <kurt@roeckx.be> writes:
> > If you want to have different optimizations depending on the cpu,
> > there are a two options I know of:
> > - When you hace shared libraries you can put them in directories like
> >   /usr/lib/i686/sse/.  The dynamic linker whould pick it up for
> >   you in that case.  (I have no idea if it looks at i686/sse or not,
> >   but it looks at various other dirs, I can't find documentation for it.)
> 
> It doesn't. But one could add /usr/lib/sse via
> /etc/ld.so.conf.d/package-sse when package-sse gets installed with
> some check that the system actualy does have sse support.

It's not because it has or doesn't have sse when you installed it, that
the hosts that is going run it is actually going to be the same.  If sse
is important for some libraries, it shouldn't be that hard to change
the dynamic linker to look there.


Kurt


Reply to: