iOS cross compiling support

Rainer Müller raimue at macports.org
Tue Jan 25 14:59:56 PST 2011


On 2011-01-25 22:58 , James Gregurich wrote:
> There is one more issue I want to address before I submit.
> 
> To configure icu for iOS, you have to have --host=arm-apple-darwin as one of the options. I'd like to automatically and generically create the label to pass to --host.  However, I'm having a hard time finding documentation on how these platform strings are to be formatted and what the options are in them. I don't even know what terminology to use to search for info on them. What are they called so I can go searching?  Right now, I just have arm-apple-darwin hardcoded into the port file.

That is called a "configuration triplet" or "host triplet" and usually
consists of <cpu>-<vendor>-<os>. Sometimes you also encounter a format
with four tokens <cpu>-<vendor>-<kernel>-<os>, for example *-*-linux-gnu.

Rainer


More information about the macports-users mailing list