General question: If I use a cross compiler, how can I tell the value of the \"--host\" option I should give when I run configure?
Specific: I\'m using cross compile
--host is the "triplet" for the machine on which your resultant build will ultimately run. In your case "arm64" is the architecture, but it is only one piece of the triplet. In any event it maps to the string "aarch64" in the triplet. One possible value is
--host=aarch64-linux-android
this page from gnu.org gives the definitive answer about --host/--target/--build usage