Subject: Re: help with libvisual
To: Thomas Klausner <wiz@NetBSD.org>
From: Davide Zanon <d.zanon@infinito.it>
List: port-macppc
Date: 05/24/2005 13:07:09
On Tuesday 24 May 2005 12:55, you wrote:
> On Tue, May 24, 2005 at 12:49:22PM +0000, Davide Zanon wrote:
> > Thank you very much, I tried and now I get this:
> >
> > cc -DHAVE_CONFIG_H -I. -I.. -I../libvisual
> > -I/usr/pkgsrc/audio/libvisual/work/.buildlink/include
> > -DPLUGPATH=\"/usr/pkg/lib/libvisual\" -O2 -MT lv_cpu.lo -MD -MP
> > -MF .deps/lv_cpu.Tpo -c lv_cpu.c  -fPIC -DPIC -o .libs/lv_cpu.o
> > /var/tmp//ccdJ5aFR.s: Assembler messages:
> > /var/tmp//ccdJ5aFR.s:175: Error: Unrecognized opcode: `vand'
> > *** Error code 1
>
> I don't speak ppc assembler, so I don't know why it doesn't like
> this.
>
> However, the code just wants to find out if the machine has altivec
> support or not. Do we have a sysctl we could frob instead? Then we
> could avoid that code part.
>
>  Thomas

Could it be this

$ sysctl -a | grep alti
machdep.altivec = 1

?

david