Probably this subject would be better dealt with on macports-dev? Or at least in addition to here...
Sorry, I have no other helpful comments! Scott On Fri, Jan 28, 2011 at 11:24 AM, James Gregurich <[email protected]> wrote: > > ok. so what is the guidance on this point? I need to move ahead. > > 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? > > > On Jan 26, 2011, at 8:22 PM, James Gregurich wrote: > >> >> archs = armv6 & armv7. >> >> triplet to compile icu for iOS: arm-apple-darwin. >> >> >> I'm not sure how cross-compiling works in the general case, but the way >> Apple has it set up for their stuff, you use the compiler from the sdk. I >> think the default for iOS is currently llvm-gcc. However, it wouldn't be >> surprised if it was switched to clang for xcode 4. Bottom line: you >> explicitly pick the target sdk and a compiler in that sdk. >> >> The question is....is there a generic way to derive a triplet from the sdk >> and compiler....or should one be forced to supply part of the triplet as a >> configuration option if he isn't targeting specifically an iOS sdk? >> >> >> >> On Jan 26, 2011, at 3:14 PM, Rainer Müller wrote: >> >>> On 2011-01-26 22:11 , James Gregurich wrote: >>>> just a thought.... Is there a way to deduce the information for the >>>> triplet by invoking the target's compiler without having to actually run >>>> code on the target device? >>> >>> I don't have the iPhone SDK installed, but as far as I know the compiler >>> would be arm-apple-darwin10-gcc, right? >>> >>> Usually you need to know the triplet to invoke the right cross-compiler... >>> >>> Rainer >> >> _______________________________________________ >> macports-users mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
