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

Dámaso López dlopezsk at gmail.com
Mon Mar 26 17:32:59 CEST 2012

Hi Clemens,

Thanks for you response, but I don't find /root/of/target, where's
this route? I've installed a Fedora on Virtual Machine and host is a
Windows XP

Another question is:

Have I do this line "make install DESTDIR=..." on directory
/home/dam/lsa-lib-1.0.17 ?

Best Regards,


2012/3/26 Clemens Ladisch <clemens at ladisch.de>:
> 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.
> Use
>        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.
> Regards,
> Clemens

More information about the Alsa-devel mailing list