Re: Question about cross compiling options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux