That would certainly work for MacOSX. What if the host isn't an apple OS? There
is certainly support for freebsd in darwin ports. I would assume it is meant to
be generic.
for the record, the precise definition of my terms are....
host = system with dev tools that builds the product
target = system upon which the product executes.
BTW. this discussion can be moved to the developer list if that is desired.
-James
On Jan 28, 2011, at 2:49 PM, Ryan Schmidt wrote:
>
> On Jan 28, 2011, at 13:24, James Gregurich wrote:
>
>> Is it consistent with the design of macports for me to invoke its included
>> config.guess script to get the triplet for the host? If so, what would be
>> the proper means of invoking it. in the tcl scripts?
>
> I would assume that the config.guess file is exclusively for the MacPorts
> configure script to use when MacPorts is building itself.
>
> If you're trying to generate a string like "i386-apple-darwin10" you could
> use "${os.arch}-apple-${os.platform}${os.major}"
>
>
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users