[linux-audio-user] Correct CFLAGS for libDSP and libConvolve?

From: Ken Restivo <ken@email-addr-hidden>
Date: Mon Feb 19 2007 - 07:39:55 EET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I decided I'd really like to try these convolution reverbs that people on other platforms have been using for nearly 10 years, apparently.

So I grabbed jack_convolve, libconvolve, and libDSP.

It seems the're not autotools-enabled, so they don't just magically figure out the right set of CFLAGS. Unfortunately, I have no idea which to use.

Building libDSP, I got stuff like:

gcc -march=pentium2 -mcpu=pentium4 -mmmx -O1 -ffast-math -fprefetch-loop-arrays -Wall -Werror -g -D_REENTRANT -D_THREAD_SAFE -D_ISOC9X_SOURCE -D_GNU_SOURCE -DDSP_X86 -I. -c X86.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
X86.c: In function ‘dsp_x86_sse_addf’:
X86.c:479: error: unknown register name ‘xmm1’ in ‘asm’
X86.c:486: error: unknown register name ‘xmm1’ in ‘asm’
X86.c:486: error: unknown register name ‘xmm0’ in ‘asm’
X86.c: In function ‘dsp_x86_sse_add’:
X86.c:501: error: unknown register name ‘xmm1’ in ‘asm’
X86.c:508: error: unknown register name ‘xmm1’ in ‘asm’
X86.c:508: error: unknown register name ‘xmm0’ in ‘asm’
X86.c: In function ‘dsp_x86_sse_mulf’:

Ah, great.

The CPU I'm using to build the software and (hopefully) to run it, is this one:
http://www.restivo.org/projects/macmini/system-details/cpu.txt

Anyone want to venture a guess as to what GCC flags to use, or, better yet, how to cheat and make autotools tell me, even though this package doesn't use it?

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF2Tgre8HF+6xeOIcRAkjtAJwKZcDG/2O87unVVMxnmy1HiEFtsgCgmiTR
S9c02T9GBq0EgoXglAlWqKc=
=hf/q
-----END PGP SIGNATURE-----
Received on Mon Feb 19 08:15:01 2007

This archive was generated by hypermail 2.1.8 : Mon Feb 19 2007 - 08:15:01 EET