[futurebasic] Re: [FB] Intel vs. PPC

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Tue, 29 Jan 2008 00:15:51 +0100
On 28 Jan 2008, at 19:38, Ken Shmidheiser wrote:

> John asked:
>
>> Does anyone know if there is any way to determine in code whether  
>> or not an
>> FB app is running under Rosetta on an Intel processor?
>
> Try this first:
>
>  http://tiny.cc/Xw8UE
>
> Here is the original source URL if that doesn't work:
>
> http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_exec_a/chapter_950_section_7.html#/ 
> /apple_ref/doc/uid/TP40002217-CH210-BAJEBJJF
>
> The translation should be fun.  :-)

Maybe if the C code is enclosed in #if def _PASSTHROUGHFUNCTION ...  
#endif. Then it won't need to be translated (?)

Bernie