0

Many questions gives hints about the --host, --build and --target options of configure. While i understand what is the purpose of these options, i would like to know how to find the triplet to provide to these options.

I have found across the web may examples of values, like arm-none-linux-gnueabi, mac, x86, and arm.

Is there a command-line utility that is able to return this value, knowing the machine on which it is runned ? Or even an unofficial-but-generally-working algorithm that allow one to build the triplet, knowing basic informations about involved machines ? Or maybe a list of all known triplets i can try until one produce a binary that can run on the host machine ?

Community
  • 1
  • 1
aluriak
  • 5,559
  • 2
  • 26
  • 39
  • Possible duplicate of [How to determine host value for configure when using cross compiler](https://stackoverflow.com/questions/21990021/how-to-determine-host-value-for-configure-when-using-cross-compiler) – OpalApps Oct 11 '17 at 11:59
  • Since the question already links to that supposedly duplicate, and do not answers this question, the duplicate mark seems dubious. – aluriak Oct 12 '17 at 20:34

0 Answers0