rj w wrote:
> $ arm-linux-gnueabihf-gcc latency.c -o latency.o -lasound
>
> I know '-l' means linking a library, but I don't see a library named asound 
> (or sound) in the folder alsa-lib-1.0.29 (in my download, not 1.0.26).

You should find libasound.a in /usr/arm-linux-gnueabihf/lib/
(or wherever the cross compiler is installed).

> Even more strange thing to me is there is no -l or -lm in the
> arm-linux-gnueabihf-gcc help message

It's a linker option; you'll find it in the "-v --help" output.


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to