[Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Renaud Detry
Hi, When using the Fink source distribution to install packages, are cpu-specific optimizations triggered? Will packages build by Fink for i386 run on any other i386-compatible mac? I'm using MacOS 10.6 on a Core2 Duo and I setup Fink to build programs for i386. Can I safely copy my system to a

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 11:50 AM, Renaud Detry wrote: Hi, When using the Fink source distribution to install packages, are cpu-specific optimizations triggered? No. Will packages build by Fink for i386 run on any other i386-compatible mac? Yes. I'm

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread David R. Morrison
On Aug 18, 2010, at 9:39 AM, Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 11:50 AM, Renaud Detry wrote: Hi, When using the Fink source distribution to install packages, are cpu-specific optimizations triggered? No. There is one exception to this

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 12:42 PM, David R. Morrison wrote: On Aug 18, 2010, at 9:39 AM, Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/18/10 11:50 AM, Renaud Detry wrote: Hi, When using the Fink source distribution to install

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Jean-François Mertens
On 18 Aug 2010, at 18:42, David R. Morrison wrote: There is one exception to this that I'm aware of: the gmp package does cpu-specific optimization at compile time. But the cpu- specific optimizations tend to be upward-compatible, so if you compile this package on your least-capable

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Renaud Detry
Thanks for the replies! Do (Mach-O?) binaries encode which extensions to the x86 set they make use of? Can one expect a warning when loading an incompatible binary, or will it run with an undefined behavior? (I know this is a bit out-of-topic, but I think it might interest other readers of this

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread David R. Morrison
On Aug 18, 2010, at 11:45 AM, Renaud Detry wrote: Thanks for the replies! Do (Mach-O?) binaries encode which extensions to the x86 set they make use of? Yes Can one expect a warning when loading an incompatible binary, Yes or will it run with an undefined behavior? Here's a thread

Re: [Fink-users] CPU-specific tuning in Fink Source Distributions

2010-08-18 Thread Daniel E. Macks
Jean-Fran?ois Mertens j...@core.ucl.ac.be said: On 18 Aug 2010, at 18:42, David R. Morrison wrote: There is one exception to this that I'm aware of: the gmp package does cpu-specific optimization at compile time. But the cpu- specific optimizations tend to be upward-compatible, so if you