[alsa-devel] Alsa lib configure asoundlib.h

Fausto Carvalho Marques SIlva fausto at tse.gov.br
Tue Jul 10 21:59:42 CEST 2007

Paul Kavan wrote

> <>I really like the idea of Salsa as well. I have built both ALSA-libs and
> SALSA-libs for my ARM SoC system. However, there are a lot of features 
> I am
> sure I do not need, e.g. mixer. I would like to build the minimal SALSA
> system for playing and capturing audio through a PCM interface. The 
> audio is
> mono, 8k sample rate with no sw audio control, etc. What tags can I add to
> get the smallest possible SALSA build. Currently I am doing this:
> CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-pc-linux-gnu
> --with-versioned=no --disable-mixe
> then
> make install DESTDIR=$HOME/Linux_Builds/buildroot/build_arm/root/
> But am still getting about a 400k addition to my rootfs. Anyway to 
> make that
> smaller?

Alsa-lib is really big... I could make it in 340K but Salsa-lib is 45K 
(stripped and dynamic).
The default compilation of salsa-lib  gives a 166K(with strip turns to 
45K) you could remove more things like:
--diable-mixer, but i think is only this...(35K without mixer)


> <>
> Thanks.
> Paul

More information about the Alsa-devel mailing list