linux – How to Cross Compile Alsa library for Windows Eclipse

I would like to know how could it be possible to cross compile the Alsa library in Windows for my linux host.

I am using an iMX8X with a Linux image, made by Yocto, and I need to implement the Alsa library in my Eclipse to be able to use the functions it gives. I have tried to,

CC=aarch64-linux-gnu-gcc(in my case) ./configure host=arm-linux 

It goes by properly but when I do make with cygwin it fails and I cannot figure it out.

Anyone know how to approach the cross-compilation of a library for Windows Eclipse?
Thanks in advance!

Read more here: Source link