[Flac-dev] A couple of points about flac 1.1.1 on
ppc/linux/altivec
Josh Coalson
xflac at yahoo.com
Wed Jan 26 09:12:12 PST 2005
--- Luca Barbato <lu_zero at gentoo.org> wrote:
> Josh Coalson wrote:
> > since I don't know how to resolve this, in current CVS I have
> > checked in a system where there are src/libFLAC/ppc/as and
> > src/libFLAC/ppc/gas selected by configure. I have also checked
> > in as many patches as I could make sense of (the cpu.c detection
> > stuff and the configure.in stuff). can you guys take a look at
> > current CVS and help me get something that will build both ways?
> > after that it will be much easier for me to start looking at
> > correctness.
> There is a problem: the AC_CHECK_PROGS() just tests existence and I'm
>
> afraid both osx and linux/ppc have both as and gas executables.
> running the configure as is will always turn on the "as" path.
> --with-gas doesn't work to force it.
> Probably a version check could help.
how about this logic:
if cpu is ppc
if as exists
if as is apple version
use as
else if as is gnu version
use as to assemble but src/libFLAC/ppc/gas directory
else
no asm
else if gas exists
use gas
else
no asm
?
could you also send me version strings for your versions of
as/gas for whatever combination of PPC,OS that you have?
Josh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Flac-dev
mailing list