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

Dámaso López dlopezsk at gmail.com
Mon Mar 26 18:00:12 CEST 2012


Sorry Clemens, I didn't see correctly you answer last post, but I
can't across compile :(

2012/3/26 Dámaso López <dlopezsk at gmail.com>:
> 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,
>
> Dam
>
> 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