[alsa-devel] How to cross compile the alsa ?

Clemens Ladisch clemens at ladisch.de
Mon Mar 26 17:25:16 CEST 2012

Dámaso López wrote:
> # CC=arm-gp2x-linux ./configure --host=i686.linux --target=arm-linux
> #make
> #make install

When cross-compiling, you cannot simply install on your host system.
	make install DESTDIR=/root/of/target/machine's/filesystem

> When it finish I copy all include from alsa-lib-1.0.17 in my directory
> /usr/arm-gp2x-linux/include.
> After I did:
> #arm-gp2x-linux -o micro micro.c -lasound
> But it say that can't find -lasound

The library is not an include file.


More information about the Alsa-devel mailing list