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

Reply via email to