[linux-audio-user] Correct CFLAGS for libDSP and libConvolve?
Ken Restivo
ken at restivo.org
Mon Feb 19 00:39:55 EST 2007
-----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-----
More information about the Linux-audio-user
mailing list