how is libFLAC cross compiled?
Closed this issue · 4 comments
need to build flac for multiple different arm devices.
cmake is not producing the standard cross compiler macros in the generated makefiles.
all i can find is some sort of automagic that appears to be guessing the host compiler.
can this be told what compiler to use?
or how do i resolve this?
I usually cross-compile through the autotools build system, see https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html
I have no experience cross-compiling with CMake.
flac requires cmake, according to the README.
cannot find any "configure" for autotools anywhere in the flac project, although there is a configure.ac in the root folder, and i presume cmake must interface with this somehow.
unfortunately, i have very little experience of cmake also, and i do not understand how this is done.
Please read this part: https://github.com/xiph/flac#building-with-gnu-autotools
haie, thank you very much for your patience, sorry to have wasted your time - i really should have noticed that part.
and thank you very much for flac - words fail - it is so very useful.